#F2DC86#F2DC86
#F2DC86 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.109 H 95.5°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC86 |
|---|---|
| RGB | rgb(242, 220, 134) |
| HSL | hsl(48, 81%, 74%) |
| HSV | hsv(48, 45%, 95%) |
| CMYK | cmyk(0%, 9.1%, 44.6%, 5.1%) |
| CIE-LAB | lab(87.87, -3.78, 44.87) |
| CIE-LCH | lch(87.87, 45.03, 94.82°) |
| OKLab | oklab(89.41% -0.0104 0.1085) |
| OKLCH | oklch(89.41% 0.109 95.5) |
| XYZ | xyz(66.5160, 71.7873, 32.9022) |
| Luminance | 0.7178 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.65
Wheat (survey)
#FBDD7E
ΔE00 2.50
Khaki (CSS)
#F0E68C
ΔE00 3.85
Sand (survey)
#E2CA76
ΔE00 4.17
Pale Gold
#FDDE6C
ΔE00 4.44
Yellow Tan
#FFE36E
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC86 #869CF2
analogous
#F2A686 #F2DC86 #D2F286
triadic
#F2DC86 #86F2DC #DC86F2
tetradic
#F2DC86 #86F2A6 #869CF2 #F286D2
square
#F2DC86 #86F2A6 #869CF2 #F286D2
split-complementary
#F2DC86 #86D2F2 #A686F2
monochromatic
#E5BB19 #ECCC4F #F2DC86 #F8ECBD #FCF7E3
Accessibility & contrast
On white
1.37
#F2DC86 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.36
#F2DC86 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC86
15.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC86 | 1.00 | 1.37 | 15.36 | 15.36 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD87F
Deuteranopia (green-blind)
#F2DF89
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dc86; /* rgb */ color: rgb(242, 220, 134); /* oklch */ color: oklch(89.4% 0.109 95.5);
Tailwind
colors: {
custom: {
50: '#f8e6aa',
500: '#f2dc86',
950: '#000000',
},
}SCSS
$custom: #f2dc86; $custom-light: #f8e6aa; $custom-dark: #000000;
JSON
{
"hex": "#f2dc86",
"rgb": {
"r": 242,
"g": 220,
"b": 134
},
"hsl": {
"h": 47.778,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.89413,
"c": 0.10902,
"h": 95.5
},
"luminance": 0.71785
}Semantic roles & 50–950 ramp
primary
#F2DC86
secondary
#4E68CE
accent
#34DD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481