#EBD157#EBD157
#EBD157 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.143 H 97.2°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #EBD157 |
|---|---|
| RGB | rgb(235, 209, 87) |
| HSL | hsl(49, 79%, 63%) |
| HSV | hsv(49, 63%, 92%) |
| CMYK | cmyk(0%, 11.1%, 63%, 7.8%) |
| CIE-LAB | lab(83.94, -4.78, 62.02) |
| CIE-LCH | lch(83.94, 62.20, 94.41°) |
| OKLab | oklab(86% -0.0179 0.1414) |
| OKLCH | oklch(86% 0.143 97.2) |
| XYZ | xyz(58.7843, 63.9540, 18.2630) |
| Luminance | 0.6395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.62
Maize
#F4D054
ΔE00 2.67
Dull Yellow
#EEDC5B
ΔE00 3.16
Light Gold
#FDDC5C
ΔE00 3.32
Pale Gold
#FDDE6C
ΔE00 3.64
Sand Yellow
#FCE166
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBD157 #5771EB
analogous
#EB8757 #EBD157 #BBEB57
triadic
#EBD157 #57EBD1 #D157EB
tetradic
#EBD157 #57EB87 #5771EB #EB57BB
square
#EBD157 #57EB87 #5771EB #EB57BB
split-complementary
#EBD157 #57BBEB #8757EB
monochromatic
#B29715 #E4C220 #EBD157 #F2E08E #F8EFC4
Accessibility & contrast
On white
1.52
#EBD157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#EBD157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBD157
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBD157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBD157 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#EBD55D
Tritanopia (blue-blind)
#FCC2B7
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #ebd157; /* rgb */ color: rgb(235, 209, 87); /* oklch */ color: oklch(86.0% 0.143 97.2);
Tailwind
colors: {
custom: {
50: '#f5de8b',
500: '#ebd157',
950: '#000000',
},
}SCSS
$custom: #ebd157; $custom-light: #f5de8b; $custom-dark: #000000;
JSON
{
"hex": "#ebd157",
"rgb": {
"r": 235,
"g": 209,
"b": 87
},
"hsl": {
"h": 49.459,
"s": 78.723,
"l": 63.137
},
"oklch": {
"l": 0.85997,
"c": 0.14251,
"h": 97.2
},
"luminance": 0.63951
}Semantic roles & 50–950 ramp
primary
#EBD157
secondary
#344AB3
accent
#2FDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F