#F2DF86#F2DF86
#F2DF86 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.112 H 97.6°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF86 |
|---|---|
| RGB | rgb(242, 223, 134) |
| HSL | hsl(49, 81%, 74%) |
| HSV | hsv(49, 45%, 95%) |
| CMYK | cmyk(0%, 7.9%, 44.6%, 5.1%) |
| CIE-LAB | lab(88.63, -5.30, 45.82) |
| CIE-LCH | lch(88.63, 46.13, 96.60°) |
| OKLab | oklab(90.02% -0.0148 0.1107) |
| OKLCH | oklch(90.02% 0.112 97.6) |
| XYZ | xyz(67.3105, 73.3762, 33.1670) |
| Luminance | 0.7337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.82
Khaki (CSS)
#F0E68C
ΔE00 2.77
Wheat (survey)
#FBDD7E
ΔE00 3.10
Yellow Tan
#FFE36E
ΔE00 4.49
Dark Cream
#FFF39A
ΔE00 4.49
Pale Gold
#FDDE6C
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF86 #8699F2
analogous
#F2A986 #F2DF86 #CFF286
triadic
#F2DF86 #86F2DF #DF86F2
tetradic
#F2DF86 #86F2A9 #8699F2 #F286CF
square
#F2DF86 #86F2A9 #8699F2 #F286CF
split-complementary
#F2DF86 #86CFF2 #A986F2
monochromatic
#E5C119 #ECD04F #F2DF86 #F8EEBD #FCF8E3
Accessibility & contrast
On white
1.34
#F2DF86 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.67
#F2DF86 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF86
15.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF86 | 1.00 | 1.34 | 15.67 | 15.67 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFDB7F
Deuteranopia (green-blind)
#F4E18A
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df86; /* rgb */ color: rgb(242, 223, 134); /* oklch */ color: oklch(90.0% 0.112 97.6);
Tailwind
colors: {
custom: {
50: '#f8e8aa',
500: '#f2df86',
950: '#000000',
},
}SCSS
$custom: #f2df86; $custom-light: #f8e8aa; $custom-dark: #000000;
JSON
{
"hex": "#f2df86",
"rgb": {
"r": 242,
"g": 223,
"b": 134
},
"hsl": {
"h": 49.444,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.90015,
"c": 0.11164,
"h": 97.6
},
"luminance": 0.73374
}Semantic roles & 50–950 ramp
primary
#F2DF86
secondary
#4E65CE
accent
#2EDD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481