#EFD862#EFD862
#EFD862 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.139 H 98.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD862 |
|---|---|
| RGB | rgb(239, 216, 98) |
| HSL | hsl(50, 82%, 66%) |
| HSV | hsv(50, 59%, 94%) |
| CMYK | cmyk(0%, 9.6%, 59%, 6.3%) |
| CIE-LAB | lab(86.18, -5.96, 59.78) |
| CIE-LCH | lch(86.18, 60.08, 95.69°) |
| OKLab | oklab(87.88% -0.0203 0.138) |
| OKLCH | oklch(87.88% 0.139 98.4) |
| XYZ | xyz(62.3595, 68.3470, 21.4605) |
| Luminance | 0.6834 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.94
Sand Yellow
#FCE166
ΔE00 2.42
Pale Gold
#FDDE6C
ΔE00 2.80
Yellow Tan
#FFE36E
ΔE00 2.96
Light Mustard
#F7D560
ΔE00 2.99
Sandy
#F1DA7A
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD862 #6279EF
analogous
#EF9162 #EFD862 #BFEF62
triadic
#EFD862 #62EFD8 #D862EF
tetradic
#EFD862 #62EF91 #6279EF #EF62BF
square
#EFD862 #62EF91 #6279EF #EF62BF
split-complementary
#EFD862 #62BFEF #9162EF
monochromatic
#C3A614 #E9CA2A #EFD862 #F5E69A #FAF4D1
Accessibility & contrast
On white
1.43
#EFD862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.67
#EFD862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD862
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD862 | 1.00 | 1.43 | 14.67 | 14.67 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #efd862; /* rgb */ color: rgb(239, 216, 98); /* oklch */ color: oklch(87.9% 0.139 98.4);
Tailwind
colors: {
custom: {
50: '#f7e393',
500: '#efd862',
950: '#000000',
},
}SCSS
$custom: #efd862; $custom-light: #f7e393; $custom-dark: #000000;
JSON
{
"hex": "#efd862",
"rgb": {
"r": 239,
"g": 216,
"b": 98
},
"hsl": {
"h": 50.213,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.87884,
"c": 0.13948,
"h": 98.4
},
"luminance": 0.68344
}Semantic roles & 50–950 ramp
primary
#EFD862
secondary
#354BC1
accent
#2BDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F