#EFD171#EFD171
#EFD171 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.7% C 0.121 H 92.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD171 |
|---|---|
| RGB | rgb(239, 209, 113) |
| HSL | hsl(46, 80%, 69%) |
| HSV | hsv(46, 53%, 94%) |
| CMYK | cmyk(0%, 12.6%, 52.7%, 6.3%) |
| CIE-LAB | lab(84.56, -1.26, 50.97) |
| CIE-LCH | lch(84.56, 50.99, 91.42°) |
| OKLab | oklab(86.65% -0.005 0.1206) |
| OKLCH | oklch(86.65% 0.121 92.4) |
| XYZ | xyz(61.3800, 65.1467, 24.9610) |
| Luminance | 0.6514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.68
Wheat (survey)
#FBDD7E
ΔE00 2.76
Sand (survey)
#E2CA76
ΔE00 2.92
Light Mustard
#F7D560
ΔE00 2.97
Maize
#F4D054
ΔE00 3.69
Pale Gold
#FDDE6C
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD171 #718FEF
analogous
#EF9271 #EFD171 #CEEF71
triadic
#EFD171 #71EFD1 #D171EF
tetradic
#EFD171 #71EF92 #718FEF #EF71CE
square
#EFD171 #71EF92 #718FEF #EF71CE
split-complementary
#EFD171 #71CEEF #9271EF
monochromatic
#CEA317 #E9BF3A #EFD171 #F5E3A8 #FBF5DF
Accessibility & contrast
On white
1.50
#EFD171 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.03
#EFD171 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD171
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD171 | 1.00 | 1.50 | 14.03 | 14.03 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #efd171; /* rgb */ color: rgb(239, 209, 113); /* oklch */ color: oklch(86.7% 0.121 92.4);
Tailwind
colors: {
custom: {
50: '#f7de9c',
500: '#efd171',
950: '#000000',
},
}SCSS
$custom: #efd171; $custom-light: #f7de9c; $custom-dark: #000000;
JSON
{
"hex": "#efd171",
"rgb": {
"r": 239,
"g": 209,
"b": 113
},
"hsl": {
"h": 45.714,
"s": 79.747,
"l": 69.02
},
"oklch": {
"l": 0.86653,
"c": 0.12066,
"h": 92.4
},
"luminance": 0.65144
}Semantic roles & 50–950 ramp
primary
#EFD171
secondary
#3C5EC8
accent
#3CDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F