#F2D989#F2D989
#F2D989 is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.9% C 0.103 H 92.7°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D989 |
|---|---|
| RGB | rgb(242, 217, 137) |
| HSL | hsl(46, 80%, 74%) |
| HSV | hsv(46, 43%, 95%) |
| CMYK | cmyk(0%, 10.3%, 43.4%, 5.1%) |
| CIE-LAB | lab(87.15, -1.96, 42.48) |
| CIE-LCH | lch(87.15, 42.52, 92.65°) |
| OKLab | oklab(88.86% -0.0048 0.1033) |
| OKLCH | oklch(88.86% 0.103 92.7) |
| XYZ | xyz(65.9479, 70.3116, 33.7597) |
| Luminance | 0.7031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.73
Wheat (survey)
#FBDD7E
ΔE00 2.73
Sand (survey)
#E2CA76
ΔE00 3.71
Pale Gold
#FDDE6C
ΔE00 5.13
Khaki (CSS)
#F0E68C
ΔE00 5.17
Vanilla
#F3E5AB
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D989 #89A2F2
analogous
#F2A589 #F2D989 #D7F289
triadic
#F2D989 #89F2D9 #D989F2
tetradic
#F2D989 #89F2A5 #89A2F2 #F289D7
square
#F2D989 #89F2A5 #89A2F2 #F289D7
split-complementary
#F2D989 #89D7F2 #A589F2
monochromatic
#E6B51B #ECC752 #F2D989 #F8EBC0 #FCF6E3
Accessibility & contrast
On white
1.39
#F2D989 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.06
#F2D989 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D989
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D989 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D989 | 1.00 | 1.39 | 15.06 | 15.06 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D683
Deuteranopia (green-blind)
#EFDE8C
Tritanopia (blue-blind)
#FFCDC5
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f2d989; /* rgb */ color: rgb(242, 217, 137); /* oklch */ color: oklch(88.9% 0.103 92.7);
Tailwind
colors: {
custom: {
50: '#f8e4ac',
500: '#f2d989',
950: '#000000',
},
}SCSS
$custom: #f2d989; $custom-light: #f8e4ac; $custom-dark: #000000;
JSON
{
"hex": "#f2d989",
"rgb": {
"r": 242,
"g": 217,
"b": 137
},
"hsl": {
"h": 45.714,
"s": 80.153,
"l": 74.314
},
"oklch": {
"l": 0.8886,
"c": 0.10339,
"h": 92.7
},
"luminance": 0.70309
}Semantic roles & 50–950 ramp
primary
#F2D989
secondary
#516FCE
accent
#3BDC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481