#EFD962#EFD962
#EFD962 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.1% C 0.140 H 98.9°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD962 |
|---|---|
| RGB | rgb(239, 217, 98) |
| HSL | hsl(51, 82%, 66%) |
| HSV | hsv(51, 59%, 94%) |
| CMYK | cmyk(0%, 9.2%, 59%, 6.3%) |
| CIE-LAB | lab(86.44, -6.47, 60.07) |
| CIE-LCH | lch(86.44, 60.41, 96.14°) |
| OKLab | oklab(88.09% -0.0218 0.1386) |
| OKLCH | oklch(88.09% 0.14 98.9) |
| XYZ | xyz(62.6165, 68.8609, 21.5461) |
| Luminance | 0.6886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.61
Sand Yellow
#FCE166
ΔE00 2.37
Pale Gold
#FDDE6C
ΔE00 2.94
Yellow Tan
#FFE36E
ΔE00 2.94
Sandy
#F1DA7A
ΔE00 3.13
Light Gold
#FDDC5C
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD962 #6278EF
analogous
#EF9262 #EFD962 #BEEF62
triadic
#EFD962 #62EFD9 #D962EF
tetradic
#EFD962 #62EF92 #6278EF #EF62BE
square
#EFD962 #62EF92 #6278EF #EF62BE
split-complementary
#EFD962 #62BEEF #9262EF
monochromatic
#C3A714 #E9CC2A #EFD962 #F5E69A #FAF4D1
Accessibility & contrast
On white
1.42
#EFD962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.77
#EFD962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD962
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD962 | 1.00 | 1.42 | 14.77 | 14.77 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #efd962; /* rgb */ color: rgb(239, 217, 98); /* oklch */ color: oklch(88.1% 0.140 98.9);
Tailwind
colors: {
custom: {
50: '#f7e493',
500: '#efd962',
950: '#000000',
},
}SCSS
$custom: #efd962; $custom-light: #f7e493; $custom-dark: #000000;
JSON
{
"hex": "#efd962",
"rgb": {
"r": 239,
"g": 217,
"b": 98
},
"hsl": {
"h": 50.638,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.88086,
"c": 0.1403,
"h": 98.9
},
"luminance": 0.68858
}Semantic roles & 50–950 ramp
primary
#EFD962
secondary
#354AC1
accent
#29DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F