#EFD762#EFD762
#EFD762 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.139 H 97.8°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD762 |
|---|---|
| RGB | rgb(239, 215, 98) |
| HSL | hsl(50, 82%, 66%) |
| HSV | hsv(50, 59%, 94%) |
| CMYK | cmyk(0%, 10%, 59%, 6.3%) |
| CIE-LAB | lab(85.92, -5.46, 59.49) |
| CIE-LCH | lch(85.92, 59.74, 95.24°) |
| OKLab | oklab(87.68% -0.0188 0.1374) |
| OKLCH | oklch(87.68% 0.139 97.8) |
| XYZ | xyz(62.1041, 67.8362, 21.3753) |
| Luminance | 0.6783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.27
Sand Yellow
#FCE166
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 2.69
Light Mustard
#F7D560
ΔE00 2.70
Light Gold
#FDDC5C
ΔE00 2.92
Sandy
#F1DA7A
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD762 #627AEF
analogous
#EF9062 #EFD762 #C0EF62
triadic
#EFD762 #62EFD7 #D762EF
tetradic
#EFD762 #62EF90 #627AEF #EF62C0
square
#EFD762 #62EF90 #627AEF #EF62C0
split-complementary
#EFD762 #62C0EF #9062EF
monochromatic
#C3A514 #E9C92A #EFD762 #F5E59A #FAF3D1
Accessibility & contrast
On white
1.44
#EFD762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.57
#EFD762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD762
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD762 | 1.00 | 1.44 | 14.57 | 14.57 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #efd762; /* rgb */ color: rgb(239, 215, 98); /* oklch */ color: oklch(87.7% 0.139 97.8);
Tailwind
colors: {
custom: {
50: '#f7e393',
500: '#efd762',
950: '#000000',
},
}SCSS
$custom: #efd762; $custom-light: #f7e393; $custom-dark: #000000;
JSON
{
"hex": "#efd762",
"rgb": {
"r": 239,
"g": 215,
"b": 98
},
"hsl": {
"h": 49.787,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.87682,
"c": 0.13866,
"h": 97.8
},
"luminance": 0.67833
}Semantic roles & 50–950 ramp
primary
#EFD762
secondary
#354CC1
accent
#2CDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F