#EFD37F#EFD37F
#EFD37F is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.108 H 91.6°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD37F |
|---|---|
| RGB | rgb(239, 211, 127) |
| HSL | hsl(45, 78%, 72%) |
| HSV | hsv(45, 47%, 94%) |
| CMYK | cmyk(0%, 11.7%, 46.9%, 6.3%) |
| CIE-LAB | lab(85.24, -1.06, 44.98) |
| CIE-LCH | lch(85.24, 45.00, 91.35°) |
| OKLab | oklab(87.24% -0.003 0.1084) |
| OKLCH | oklch(87.24% 0.108 91.6) |
| XYZ | xyz(62.7236, 66.4742, 29.6014) |
| Luminance | 0.6647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.58
Wheat (survey)
#FBDD7E
ΔE00 2.82
Sandy
#F1DA7A
ΔE00 2.85
Light Mustard
#F7D560
ΔE00 4.71
Pale Gold
#FDDE6C
ΔE00 4.88
Maize
#F4D054
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD37F #7F9BEF
analogous
#EF9B7F #EFD37F #D3EF7F
triadic
#EFD37F #7FEFD3 #D37FEF
tetradic
#EFD37F #7FEF9B #7F9BEF #EF7FD3
square
#EFD37F #7FEF9B #7F9BEF #EF7FD3
split-complementary
#EFD37F #7FD3EF #9B7FEF
monochromatic
#D9A91B #E8C049 #EFD37F #F6E6B5 #FCF6E4
Accessibility & contrast
On white
1.47
#EFD37F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.29
#EFD37F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD37F
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD37F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD37F | 1.00 | 1.47 | 14.29 | 14.29 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D078
Deuteranopia (green-blind)
#EBD882
Tritanopia (blue-blind)
#FFC7BF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #efd37f; /* rgb */ color: rgb(239, 211, 127); /* oklch */ color: oklch(87.2% 0.108 91.6);
Tailwind
colors: {
custom: {
50: '#f6e0a5',
500: '#efd37f',
950: '#000000',
},
}SCSS
$custom: #efd37f; $custom-light: #f6e0a5; $custom-dark: #000000;
JSON
{
"hex": "#efd37f",
"rgb": {
"r": 239,
"g": 211,
"b": 127
},
"hsl": {
"h": 45,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.87245,
"c": 0.10841,
"h": 91.6
},
"luminance": 0.66472
}Semantic roles & 50–950 ramp
primary
#EFD37F
secondary
#4969C9
accent
#3FDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480