#EFD474#EFD474
#EFD474 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.120 H 94.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD474 |
|---|---|
| RGB | rgb(239, 212, 116) |
| HSL | hsl(47, 79%, 70%) |
| HSV | hsv(47, 51%, 94%) |
| CMYK | cmyk(0%, 11.3%, 51.5%, 6.3%) |
| CIE-LAB | lab(85.35, -2.55, 50.49) |
| CIE-LCH | lch(85.35, 50.55, 92.89°) |
| OKLab | oklab(87.29% -0.0084 0.1198) |
| OKLCH | oklch(87.29% 0.12 94) |
| XYZ | xyz(62.2947, 66.7014, 26.1129) |
| Luminance | 0.6670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.67
Wheat (survey)
#FBDD7E
ΔE00 2.34
Sand (survey)
#E2CA76
ΔE00 3.05
Light Mustard
#F7D560
ΔE00 3.15
Pale Gold
#FDDE6C
ΔE00 3.38
Maize
#F4D054
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD474 #748FEF
analogous
#EF9674 #EFD474 #CDEF74
triadic
#EFD474 #74EFD4 #D474EF
tetradic
#EFD474 #74EF96 #748FEF #EF74CD
square
#EFD474 #74EF96 #748FEF #EF74CD
split-complementary
#EFD474 #74CDEF #9674EF
monochromatic
#D1A818 #E9C33D #EFD474 #F5E5AB #FCF6E2
Accessibility & contrast
On white
1.46
#EFD474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.34
#EFD474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD474
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD474 | 1.00 | 1.46 | 14.34 | 14.34 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D06C
Deuteranopia (green-blind)
#EDD978
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #efd474; /* rgb */ color: rgb(239, 212, 116); /* oklch */ color: oklch(87.3% 0.120 94.0);
Tailwind
colors: {
custom: {
50: '#f7e19e',
500: '#efd474',
950: '#000000',
},
}SCSS
$custom: #efd474; $custom-light: #f7e19e; $custom-dark: #000000;
JSON
{
"hex": "#efd474",
"rgb": {
"r": 239,
"g": 212,
"b": 116
},
"hsl": {
"h": 46.829,
"s": 79.355,
"l": 69.608
},
"oklch": {
"l": 0.87291,
"c": 0.12005,
"h": 94
},
"luminance": 0.66699
}Semantic roles & 50–950 ramp
primary
#EFD474
secondary
#3F5DC8
accent
#38DC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F