#F8DC82#F8DC82
#F8DC82 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.114 H 92.6°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F8DC82 |
|---|---|
| RGB | rgb(248, 220, 130) |
| HSL | hsl(46, 89%, 74%) |
| HSV | hsv(46, 48%, 97%) |
| CMYK | cmyk(0%, 11.3%, 47.6%, 2.7%) |
| CIE-LAB | lab(88.33, -1.78, 47.52) |
| CIE-LCH | lch(88.33, 47.56, 92.14°) |
| OKLab | oklab(89.89% -0.0053 0.1141) |
| OKLCH | oklch(89.89% 0.114 92.6) |
| XYZ | xyz(68.3361, 72.7574, 31.5588) |
| Luminance | 0.7276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 0.90
Sandy
#F1DA7A
ΔE00 1.93
Pale Gold
#FDDE6C
ΔE00 3.38
Yellow Tan
#FFE36E
ΔE00 3.99
Light Mustard
#F7D560
ΔE00 4.15
Sand (survey)
#E2CA76
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8DC82 #829EF8
analogous
#F8A182 #F8DC82 #D9F882
triadic
#F8DC82 #82F8DC #DC82F8
tetradic
#F8DC82 #82F8A1 #829EF8 #F882D9
square
#F8DC82 #82F8A1 #829EF8 #F882D9
split-complementary
#F8DC82 #82D9F8 #A182F8
monochromatic
#F2BC0E #F5CC48 #F8DC82 #FBECBC #FDF7E2
Accessibility & contrast
On white
1.35
#F8DC82 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.55
#F8DC82 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8DC82
15.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8DC82 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8DC82 | 1.00 | 1.35 | 15.55 | 15.55 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD97B
Deuteranopia (green-blind)
#F5E185
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f8dc82; /* rgb */ color: rgb(248, 220, 130); /* oklch */ color: oklch(89.9% 0.114 92.6);
Tailwind
colors: {
custom: {
50: '#fde6a8',
500: '#f8dc82',
950: '#000000',
},
}SCSS
$custom: #f8dc82; $custom-light: #fde6a8; $custom-dark: #000000;
JSON
{
"hex": "#f8dc82",
"rgb": {
"r": 248,
"g": 220,
"b": 130
},
"hsl": {
"h": 45.763,
"s": 89.394,
"l": 74.118
},
"oklch": {
"l": 0.89887,
"c": 0.11426,
"h": 92.6
},
"luminance": 0.72755
}Semantic roles & 50–950 ramp
primary
#F8DC82
secondary
#496AD5
accent
#36E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181510
muted
#868480