#EBCC5F#EBCC5F
#EBCC5F is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.132 H 93.5°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #EBCC5F |
|---|---|
| RGB | rgb(235, 204, 95) |
| HSL | hsl(47, 78%, 65%) |
| HSV | hsv(47, 60%, 92%) |
| CMYK | cmyk(0%, 13.2%, 59.6%, 7.8%) |
| CIE-LAB | lab(82.74, -1.70, 57.17) |
| CIE-LCH | lch(82.74, 57.19, 91.70°) |
| OKLab | oklab(85.07% -0.0081 0.1321) |
| OKLCH | oklch(85.07% 0.132 93.5) |
| XYZ | xyz(57.9219, 61.6770, 19.6782) |
| Luminance | 0.6167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.30
Light Mustard
#F7D560
ΔE00 2.46
Sand (survey)
#E2CA76
ΔE00 3.91
Sandy
#F1DA7A
ΔE00 4.09
Pale Gold
#FDDE6C
ΔE00 4.15
Light Gold
#FDDC5C
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBCC5F #5F7EEB
analogous
#EB865F #EBCC5F #C4EB5F
triadic
#EBCC5F #5FEBCC #CC5FEB
tetradic
#EBCC5F #5FEB86 #5F7EEB #EB5FC4
square
#EBCC5F #5FEB86 #5F7EEB #EB5FC4
split-complementary
#EBCC5F #5FC4EB #865FEB
monochromatic
#B99517 #E4BB29 #EBCC5F #F2DD95 #F9EFCC
Accessibility & contrast
On white
1.57
#EBCC5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.33
#EBCC5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBCC5F
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBCC5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBCC5F | 1.00 | 1.57 | 13.33 | 13.33 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC954
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#FCBEB4
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #ebcc5f; /* rgb */ color: rgb(235, 204, 95); /* oklch */ color: oklch(85.1% 0.132 93.5);
Tailwind
colors: {
custom: {
50: '#f4db90',
500: '#ebcc5f',
950: '#000000',
},
}SCSS
$custom: #ebcc5f; $custom-light: #f4db90; $custom-dark: #000000;
JSON
{
"hex": "#ebcc5f",
"rgb": {
"r": 235,
"g": 204,
"b": 95
},
"hsl": {
"h": 46.714,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.85071,
"c": 0.13236,
"h": 93.5
},
"luminance": 0.61674
}Semantic roles & 50–950 ramp
primary
#EBCC5F
secondary
#3653B8
accent
#39DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F