#ECCF4F#ECCF4F
#ECCF4F is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.6% C 0.147 H 96.3°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #ECCF4F |
|---|---|
| RGB | rgb(236, 207, 79) |
| HSL | hsl(49, 81%, 62%) |
| HSV | hsv(49, 67%, 93%) |
| CMYK | cmyk(0%, 12.3%, 66.5%, 7.5%) |
| CIE-LAB | lab(83.46, -3.82, 64.87) |
| CIE-LCH | lch(83.46, 64.98, 93.37°) |
| OKLab | oklab(85.61% -0.0161 0.1462) |
| OKLCH | oklch(85.61% 0.147 96.3) |
| XYZ | xyz(58.3189, 63.0260, 16.4890) |
| Luminance | 0.6302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.04
Light Mustard
#F7D560
ΔE00 2.54
Light Gold
#FDDC5C
ΔE00 3.29
Dull Yellow
#EEDC5B
ΔE00 3.91
Pale Gold
#FDDE6C
ΔE00 4.00
Sand Yellow
#FCE166
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECCF4F #4F6CEC
analogous
#EC814F #ECCF4F #BBEC4F
triadic
#ECCF4F #4FECCF #CF4FEC
tetradic
#ECCF4F #4FEC81 #4F6CEC #EC4FBB
square
#ECCF4F #4FEC81 #4F6CEC #EC4FBB
split-complementary
#ECCF4F #4FBBEC #814FEC
monochromatic
#AE9113 #E5BF19 #ECCF4F #F2DE86 #F8EDBD
Accessibility & contrast
On white
1.54
#ECCF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#ECCF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECCF4F
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECCF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECCF4F | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB3F
Deuteranopia (green-blind)
#EBD456
Tritanopia (blue-blind)
#FEC0B4
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #eccf4f; /* rgb */ color: rgb(236, 207, 79); /* oklch */ color: oklch(85.6% 0.147 96.3);
Tailwind
colors: {
custom: {
50: '#f6dd86',
500: '#eccf4f',
950: '#000000',
},
}SCSS
$custom: #eccf4f; $custom-light: #f6dd86; $custom-dark: #000000;
JSON
{
"hex": "#eccf4f",
"rgb": {
"r": 236,
"g": 207,
"b": 79
},
"hsl": {
"h": 48.917,
"s": 80.513,
"l": 61.765
},
"oklch": {
"l": 0.85613,
"c": 0.14708,
"h": 96.3
},
"luminance": 0.63023
}Semantic roles & 50–950 ramp
primary
#ECCF4F
secondary
#3148AE
accent
#30DD09
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F