#EAC751#EAC751
#EAC751 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.140 H 92.5°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #EAC751 |
|---|---|
| RGB | rgb(234, 199, 81) |
| HSL | hsl(46, 78%, 62%) |
| HSV | hsv(46, 65%, 92%) |
| CMYK | cmyk(0%, 15%, 65.4%, 8.2%) |
| CIE-LAB | lab(81.26, -0.43, 61.67) |
| CIE-LCH | lch(81.26, 61.67, 90.40°) |
| OKLab | oklab(83.84% -0.0061 0.1398) |
| OKLCH | oklch(83.84% 0.14 92.5) |
| XYZ | xyz(55.8431, 58.9364, 16.2175) |
| Luminance | 0.5893 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.26
Light Mustard
#F7D560
ΔE00 3.29
Light Gold
#FDDC5C
ΔE00 4.95
Mustard
#DBB42C
ΔE00 5.05
Sand (survey)
#E2CA76
ΔE00 5.25
Pale Gold
#FDDE6C
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAC751 #5174EA
analogous
#EA7B51 #EAC751 #C0EA51
triadic
#EAC751 #51EAC7 #C751EA
tetradic
#EAC751 #51EA7B #5174EA #EA51C0
square
#EAC751 #51EA7B #5174EA #EA51C0
split-complementary
#EAC751 #51C0EA #7B51EA
monochromatic
#AC8915 #E2B51B #EAC751 #F1D988 #F7EABE
Accessibility & contrast
On white
1.64
#EAC751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.79
#EAC751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAC751
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAC751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAC751 | 1.00 | 1.64 | 12.79 | 12.79 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#FCB8AE
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #eac751; /* rgb */ color: rgb(234, 199, 81); /* oklch */ color: oklch(83.8% 0.140 92.5);
Tailwind
colors: {
custom: {
50: '#f4d787',
500: '#eac751',
950: '#000000',
},
}SCSS
$custom: #eac751; $custom-light: #f4d787; $custom-dark: #000000;
JSON
{
"hex": "#eac751",
"rgb": {
"r": 234,
"g": 199,
"b": 81
},
"hsl": {
"h": 46.275,
"s": 78.462,
"l": 61.765
},
"oklch": {
"l": 0.83836,
"c": 0.13991,
"h": 92.5
},
"luminance": 0.58933
}Semantic roles & 50–950 ramp
primary
#EAC751
secondary
#324EAD
accent
#3ADB0B
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F