#EBCC66#EBCC66
#EBCC66 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.2% C 0.126 H 92.7°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #EBCC66 |
|---|---|
| RGB | rgb(235, 204, 102) |
| HSL | hsl(46, 77%, 66%) |
| HSV | hsv(46, 57%, 92%) |
| CMYK | cmyk(0%, 13.2%, 56.6%, 7.8%) |
| CIE-LAB | lab(82.81, -1.20, 54.03) |
| CIE-LCH | lch(82.81, 54.04, 91.27°) |
| OKLab | oklab(85.15% -0.0059 0.1262) |
| OKLCH | oklch(85.15% 0.126 92.7) |
| XYZ | xyz(58.2545, 61.8100, 21.4299) |
| Luminance | 0.6181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.88
Maize
#F4D054
ΔE00 3.00
Sand (survey)
#E2CA76
ΔE00 3.16
Sandy
#F1DA7A
ΔE00 3.79
Wheat (survey)
#FBDD7E
ΔE00 4.08
Pale Gold
#FDDE6C
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBCC66 #6685EB
analogous
#EB8966 #EBCC66 #C7EB66
triadic
#EBCC66 #66EBCC #CC66EB
tetradic
#EBCC66 #66EB89 #6685EB #EB66C7
square
#EBCC66 #66EB89 #6685EB #EB66C7
split-complementary
#EBCC66 #66C7EB #8966EB
monochromatic
#BE9719 #E4BA30 #EBCC66 #F2DE9C #F9F0D2
Accessibility & contrast
On white
1.57
#EBCC66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.36
#EBCC66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBCC66
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBCC66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBCC66 | 1.00 | 1.57 | 13.36 | 13.36 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#E6D26A
Tritanopia (blue-blind)
#FCBEB5
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #ebcc66; /* rgb */ color: rgb(235, 204, 102); /* oklch */ color: oklch(85.2% 0.126 92.7);
Tailwind
colors: {
custom: {
50: '#f4db94',
500: '#ebcc66',
950: '#000000',
},
}SCSS
$custom: #ebcc66; $custom-light: #f4db94; $custom-dark: #000000;
JSON
{
"hex": "#ebcc66",
"rgb": {
"r": 235,
"g": 204,
"b": 102
},
"hsl": {
"h": 46.015,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.8515,
"c": 0.12632,
"h": 92.7
},
"luminance": 0.61807
}Semantic roles & 50–950 ramp
primary
#EBCC66
secondary
#3957BD
accent
#3CD90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F