#EFD462#EFD462
#EFD462 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.136 H 96.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD462 |
|---|---|
| RGB | rgb(239, 212, 98) |
| HSL | hsl(49, 82%, 66%) |
| HSV | hsv(49, 59%, 94%) |
| CMYK | cmyk(0%, 11.3%, 59%, 6.3%) |
| CIE-LAB | lab(85.16, -3.93, 58.64) |
| CIE-LCH | lch(85.16, 58.77, 93.84°) |
| OKLab | oklab(87.08% -0.0145 0.1355) |
| OKLCH | oklch(87.08% 0.136 96.1) |
| XYZ | xyz(61.3472, 66.3224, 21.1230) |
| Luminance | 0.6632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.93
Maize
#F4D054
ΔE00 2.63
Pale Gold
#FDDE6C
ΔE00 2.64
Light Gold
#FDDC5C
ΔE00 2.88
Sandy
#F1DA7A
ΔE00 2.93
Sand Yellow
#FCE166
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD462 #627DEF
analogous
#EF8D62 #EFD462 #C3EF62
triadic
#EFD462 #62EFD4 #D462EF
tetradic
#EFD462 #62EF8D #627DEF #EF62C3
square
#EFD462 #62EF8D #627DEF #EF62C3
split-complementary
#EFD462 #62C3EF #8D62EF
monochromatic
#C3A114 #E9C52A #EFD462 #F5E39A #FAF2D1
Accessibility & contrast
On white
1.47
#EFD462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.26
#EFD462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD462
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD462 | 1.00 | 1.47 | 14.26 | 14.26 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #efd462; /* rgb */ color: rgb(239, 212, 98); /* oklch */ color: oklch(87.1% 0.136 96.1);
Tailwind
colors: {
custom: {
50: '#f7e092',
500: '#efd462',
950: '#000000',
},
}SCSS
$custom: #efd462; $custom-light: #f7e092; $custom-dark: #000000;
JSON
{
"hex": "#efd462",
"rgb": {
"r": 239,
"g": 212,
"b": 98
},
"hsl": {
"h": 48.511,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.87077,
"c": 0.13631,
"h": 96.1
},
"luminance": 0.6632
}Semantic roles & 50–950 ramp
primary
#EFD462
secondary
#354FC1
accent
#31DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F