#EFC74F#EFC74F
#EFC74F is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.3% C 0.142 H 90.4°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #EFC74F |
|---|---|
| RGB | rgb(239, 199, 79) |
| HSL | hsl(45, 83%, 62%) |
| HSV | hsv(45, 67%, 94%) |
| CMYK | cmyk(0%, 16.7%, 66.9%, 6.3%) |
| CIE-LAB | lab(81.71, 1.55, 63.13) |
| CIE-LCH | lch(81.71, 63.15, 88.59°) |
| OKLab | oklab(84.3% -0.0009 0.1424) |
| OKLCH | oklch(84.3% 0.142 90.4) |
| XYZ | xyz(57.4343, 59.7655, 15.9064) |
| Luminance | 0.5976 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.35
Light Mustard
#F7D560
ΔE00 3.49
Golden
#F5BF03
ΔE00 5.03
Golden Yellow
#FEC615
ΔE00 5.09
Mustard
#DBB42C
ΔE00 5.11
Light Gold
#FDDC5C
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFC74F #4F77EF
analogous
#EF774F #EFC74F #C7EF4F
triadic
#EFC74F #4FEFC7 #C74FEF
tetradic
#EFC74F #4FEF77 #4F77EF #EF4FC7
square
#EFC74F #4FEF77 #4F77EF #EF4FC7
split-complementary
#EFC74F #4FC7EF #774FEF
monochromatic
#B38B10 #EAB517 #EFC74F #F4D987 #F9EBBF
Accessibility & contrast
On white
1.62
#EFC74F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.95
#EFC74F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFC74F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFC74F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFC74F | 1.00 | 1.62 | 12.95 | 12.95 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC540
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #efc74f; /* rgb */ color: rgb(239, 199, 79); /* oklch */ color: oklch(84.3% 0.142 90.4);
Tailwind
colors: {
custom: {
50: '#f8d786',
500: '#efc74f',
950: '#000000',
},
}SCSS
$custom: #efc74f; $custom-light: #f8d786; $custom-dark: #000000;
JSON
{
"hex": "#efc74f",
"rgb": {
"r": 239,
"g": 199,
"b": 79
},
"hsl": {
"h": 45,
"s": 83.333,
"l": 62.353
},
"oklch": {
"l": 0.84298,
"c": 0.14242,
"h": 90.4
},
"luminance": 0.59762
}Semantic roles & 50–950 ramp
primary
#EFC74F
secondary
#2F50B3
accent
#3CE006
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E