#F8F8F2

Ivory

#F8F8F2Ivory

Luminance

0.935

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#F8F8F2
No #
F8F8F2

RGB

RGB
rgb(248, 248, 242)
Values
R:248 G:248 B:242

HSL

HSL
hsl(60, 30%, 96%)
Values
H:60° S:30% L:96%

HSV / HSB

HSV
hsv(60, 2%, 97%)
Values
H:60° S:2% V:97%

CMYK

CMYK
cmyk(0%, 0%, 2%, 3%)
Values
C:0 M:0 Y:2 K:3

LAB

LAB
lab(97, -1, 3)
Values
L:97 a:-1 b:3

OKLCH

OKLCH
oklch(97.7% 0.008 106.5)
Values
L:97.7% C:0.008 H:106.5°

Code Formats

CSS
color: #F8F8F2;
Swift
UIColor(red: 0.973, green: 0.973, blue: 0.949, alpha: 1.0)
Kotlin
Color(0xFFF8F8F2)
Flutter
Color(0xFFF8F8F2)
Android
#FFF8F8F2

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.07:1

Fail

On Black

19.70:1

AAA

Grayscale Contrast

Aa

0%

19.7

AAA
Aa

10%

16.3

AAA
Aa

20%

11.9

AAA
Aa

30%

7.9

AAA
Aa

40%

5.4

AA
Aa

50%

3.8

AA-large
Aa

60%

2.7

Fail
Aa

70%

2.0

Fail
Aa

80%

1.5

Fail
Aa

90%

1.2

Fail
Aa

100%

1.1

Fail

Best Grayscale Contrast

#000000 with ratio 19.70:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #E4E4CD 0%, #D4D4AF 100%)
OKLCH
linear-gradient(90deg, oklch(91.3% 0.031 107.0) 0%, oklch(86.0% 0.049 107.4) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #D5D590 0%, #EFEFC8 100%)
OKLCH
linear-gradient(135deg, oklch(85.7% 0.089 108.1) 0%, oklch(94.2% 0.051 107.3) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #F8F8F2 0%, #F2F2F8 100%)
OKLCH
linear-gradient(90deg, oklch(97.7% 0.008 106.5) 0%, oklch(96.3% 0.008 286.2) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #F8F5F2 0%, #F8F8F2 50%, #F5F8F2 100%)
OKLCH
linear-gradient(90deg, oklch(97.2% 0.005 67.8) 0%, oklch(97.7% 0.008 106.5) 50%, oklch(97.5% 0.009 128.6) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #B8B87A 0%, #252518 100%)
OKLCH
linear-gradient(180deg, oklch(76.8% 0.082 108.2) 0%, oklch(26.0% 0.023 107.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #D2D2AC 0%, #DDDDC0 100%)
OKLCH
radial-gradient(circle, oklch(85.4% 0.051 107.4) 0%, oklch(89.0% 0.039 107.2) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette