#FFF8DC

Beige

#FFF8DCBeige

Luminance

0.936

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFF8DC
No #
FFF8DC

RGB

RGB
rgb(255, 248, 220)
Values
R:255 G:248 B:220

HSL

HSL
hsl(48, 100%, 93%)
Values
H:48° S:100% L:93%

HSV / HSB

HSV
hsv(48, 14%, 100%)
Values
H:48° S:14% V:100%

CMYK

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

LAB

LAB
lab(97, -2, 14)
Values
L:97 a:-2 b:14

OKLCH

OKLCH
oklch(97.7% 0.037 95.4)
Values
L:97.7% C:0.037 H:95.4°

Code Formats

CSS
color: #FFF8DC;
Swift
UIColor(red: 1.000, green: 0.973, blue: 0.863, alpha: 1.0)
Kotlin
Color(0xFFFFF8DC)
Flutter
Color(0xFFFFF8DC)
Android
#FFFFF8DC

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.07:1

Fail

On Black

19.71: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.71: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, #FFF0B3 0%, #FFE375 100%)
OKLCH
linear-gradient(90deg, oklch(95.3% 0.079 95.9) 0%, oklch(91.7% 0.133 95.3) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFE066 0%, #FFEEA8 100%)
OKLCH
linear-gradient(135deg, oklch(91.0% 0.144 95.1) 0%, oklch(94.7% 0.090 96.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFF8DC 0%, #DBE2FF 100%)
OKLCH
linear-gradient(90deg, oklch(97.7% 0.037 95.4) 0%, oklch(91.6% 0.040 274.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FFE6DB 0%, #FFF8DC 50%, #F4FFDB 100%)
OKLCH
linear-gradient(90deg, oklch(94.2% 0.031 45.3) 0%, oklch(97.7% 0.037 95.4) 50%, oklch(98.3% 0.048 121.1) 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, #FFD633 0%, #342B09 100%)
OKLCH
linear-gradient(180deg, oklch(88.6% 0.170 93.6) 0%, oklch(29.1% 0.051 94.0) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFE680 0%, #FFE98F 100%)
OKLCH
radial-gradient(circle, oklch(92.5% 0.125 95.9) 0%, oklch(93.3% 0.113 96.0) 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