#EFD162#EFD162
#EFD162 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.134 H 94.3°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD162 |
|---|---|
| RGB | rgb(239, 209, 98) |
| HSL | hsl(47, 82%, 66%) |
| HSV | hsv(47, 59%, 94%) |
| CMYK | cmyk(0%, 12.6%, 59%, 6.3%) |
| CIE-LAB | lab(84.40, -2.40, 57.78) |
| CIE-LCH | lch(84.40, 57.83, 92.38°) |
| OKLab | oklab(86.48% -0.0101 0.1337) |
| OKLCH | oklch(86.48% 0.134 94.3) |
| XYZ | xyz(60.6043, 64.8364, 20.8754) |
| Luminance | 0.6483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.59
Maize
#F4D054
ΔE00 2.05
Pale Gold
#FDDE6C
ΔE00 3.00
Light Gold
#FDDC5C
ΔE00 3.24
Sandy
#F1DA7A
ΔE00 3.30
Wheat (survey)
#FBDD7E
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD162 #6280EF
analogous
#EF8A62 #EFD162 #C6EF62
triadic
#EFD162 #62EFD1 #D162EF
tetradic
#EFD162 #62EF8A #6280EF #EF62C6
square
#EFD162 #62EF8A #6280EF #EF62C6
split-complementary
#EFD162 #62C6EF #8A62EF
monochromatic
#C39E14 #E9C12A #EFD162 #F5E19A #FAF2D1
Accessibility & contrast
On white
1.50
#EFD162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.97
#EFD162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD162
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD162 | 1.00 | 1.50 | 13.97 | 13.97 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #efd162; /* rgb */ color: rgb(239, 209, 98); /* oklch */ color: oklch(86.5% 0.134 94.3);
Tailwind
colors: {
custom: {
50: '#f7de92',
500: '#efd162',
950: '#000000',
},
}SCSS
$custom: #efd162; $custom-light: #f7de92; $custom-dark: #000000;
JSON
{
"hex": "#efd162",
"rgb": {
"r": 239,
"g": 209,
"b": 98
},
"hsl": {
"h": 47.234,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.86475,
"c": 0.13408,
"h": 94.3
},
"luminance": 0.64833
}Semantic roles & 50–950 ramp
primary
#EFD162
secondary
#3552C1
accent
#35DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F