#EFD77C#EFD77C
#EFD77C is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.115 H 95.0°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD77C |
|---|---|
| RGB | rgb(239, 215, 124) |
| HSL | hsl(47, 78%, 71%) |
| HSV | hsv(47, 48%, 94%) |
| CMYK | cmyk(0%, 10%, 48.1%, 6.3%) |
| CIE-LAB | lab(86.21, -3.38, 47.66) |
| CIE-LCH | lch(86.21, 47.78, 94.05°) |
| OKLab | oklab(88% -0.01 0.1141) |
| OKLCH | oklch(88% 0.115 95) |
| XYZ | xyz(63.5371, 68.4094, 28.9224) |
| Luminance | 0.6841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.03
Wheat (survey)
#FBDD7E
ΔE00 2.29
Sand (survey)
#E2CA76
ΔE00 3.19
Pale Gold
#FDDE6C
ΔE00 3.85
Light Mustard
#F7D560
ΔE00 4.17
Yellow Tan
#FFE36E
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD77C #7C94EF
analogous
#EF9D7C #EFD77C #CDEF7C
triadic
#EFD77C #7CEFD7 #D77CEF
tetradic
#EFD77C #7CEF9D #7C94EF #EF7CCD
square
#EFD77C #7CEF9D #7C94EF #EF7CCD
split-complementary
#EFD77C #7CCDEF #9D7CEF
monochromatic
#D6AF1A #E8C645 #EFD77C #F6E8B3 #FCF7E4
Accessibility & contrast
On white
1.43
#EFD77C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.68
#EFD77C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD77C
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD77C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD77C | 1.00 | 1.43 | 14.68 | 14.68 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D374
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#FECBC1
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #efd77c; /* rgb */ color: rgb(239, 215, 124); /* oklch */ color: oklch(88.0% 0.115 95.0);
Tailwind
colors: {
custom: {
50: '#f6e3a3',
500: '#efd77c',
950: '#000000',
},
}SCSS
$custom: #efd77c; $custom-light: #f6e3a3; $custom-dark: #000000;
JSON
{
"hex": "#efd77c",
"rgb": {
"r": 239,
"g": 215,
"b": 124
},
"hsl": {
"h": 47.478,
"s": 78.231,
"l": 71.176
},
"oklch": {
"l": 0.88001,
"c": 0.11458,
"h": 95
},
"luminance": 0.68407
}Semantic roles & 50–950 ramp
primary
#EFD77C
secondary
#4662C9
accent
#36DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480