#EFD172#EFD172
#EFD172 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.120 H 92.2°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #EFD172 |
|---|---|
| RGB | rgb(239, 209, 114) |
| HSL | hsl(46, 80%, 69%) |
| HSV | hsv(46, 52%, 94%) |
| CMYK | cmyk(0%, 12.6%, 52.3%, 6.3%) |
| CIE-LAB | lab(84.57, -1.18, 50.51) |
| CIE-LCH | lch(84.57, 50.52, 91.34°) |
| OKLab | oklab(86.67% -0.0047 0.1196) |
| OKLCH | oklch(86.67% 0.12 92.2) |
| XYZ | xyz(61.4366, 65.1694, 25.2592) |
| Luminance | 0.6517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.70
Wheat (survey)
#FBDD7E
ΔE00 2.74
Sand (survey)
#E2CA76
ΔE00 2.85
Light Mustard
#F7D560
ΔE00 3.10
Maize
#F4D054
ΔE00 3.82
Pale Gold
#FDDE6C
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFD172 #7290EF
analogous
#EF9372 #EFD172 #CFEF72
triadic
#EFD172 #72EFD1 #D172EF
tetradic
#EFD172 #72EF93 #7290EF #EF72CF
square
#EFD172 #72EF93 #7290EF #EF72CF
split-complementary
#EFD172 #72CFEF #9372EF
monochromatic
#CFA318 #E9BF3B #EFD172 #F5E3A9 #FBF5E0
Accessibility & contrast
On white
1.50
#EFD172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.03
#EFD172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFD172
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFD172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFD172 | 1.00 | 1.50 | 14.03 | 14.03 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE6A
Deuteranopia (green-blind)
#EBD776
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #efd172; /* rgb */ color: rgb(239, 209, 114); /* oklch */ color: oklch(86.7% 0.120 92.2);
Tailwind
colors: {
custom: {
50: '#f7de9d',
500: '#efd172',
950: '#000000',
},
}SCSS
$custom: #efd172; $custom-light: #f7de9d; $custom-dark: #000000;
JSON
{
"hex": "#efd172",
"rgb": {
"r": 239,
"g": 209,
"b": 114
},
"hsl": {
"h": 45.6,
"s": 79.618,
"l": 69.216
},
"oklch": {
"l": 0.86666,
"c": 0.11971,
"h": 92.2
},
"luminance": 0.65167
}Semantic roles & 50–950 ramp
primary
#EFD172
secondary
#3D5FC8
accent
#3CDC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F