#ECF168#ECF168
#ECF168 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.8% C 0.159 H 111.1°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF168 |
|---|---|
| RGB | rgb(236, 241, 104) |
| HSL | hsl(62, 83%, 68%) |
| HSV | hsv(62, 57%, 95%) |
| CMYK | cmyk(2.1%, 0%, 56.8%, 5.5%) |
| CIE-LAB | lab(92.46, -19.12, 64.11) |
| CIE-LCH | lch(92.46, 66.90, 106.61°) |
| OKLab | oklab(92.84% -0.057 0.148) |
| OKLCH | oklch(92.84% 0.159 111.1) |
| XYZ | xyz(68.5478, 81.7445, 25.2613) |
| Luminance | 0.8174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 3.10
Yellowish Tan
#FCFC81
ΔE00 3.15
Butter Yellow
#FFFD74
ΔE00 3.16
Custard
#FFFD78
ΔE00 3.18
Pastel Yellow
#FFFE71
ΔE00 3.23
Light Yellow
#FFFE7A
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF168 #6D68F1
analogous
#F1B268 #ECF168 #A7F168
triadic
#ECF168 #68ECF1 #F168EC
tetradic
#ECF168 #68F1B2 #6D68F1 #F168A7
square
#ECF168 #68F1B2 #6D68F1 #F168A7
split-complementary
#ECF168 #68A7F1 #B268F1
monochromatic
#C5CC13 #E5EC30 #ECF168 #F3F6A0 #FAFBD8
Accessibility & contrast
On white
1.21
#ECF168 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.35
#ECF168 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF168
17.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF168 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF168 | 1.00 | 1.21 | 17.35 | 17.35 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE759
Deuteranopia (green-blind)
#FFEB70
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf168; /* rgb */ color: rgb(236, 241, 104); /* oklch */ color: oklch(92.8% 0.159 111.1);
Tailwind
colors: {
custom: {
50: '#f5f598',
500: '#ecf168',
950: '#000000',
},
}SCSS
$custom: #ecf168; $custom-light: #f5f598; $custom-dark: #000000;
JSON
{
"hex": "#ecf168",
"rgb": {
"r": 236,
"g": 241,
"b": 104
},
"hsl": {
"h": 62.19,
"s": 83.03,
"l": 67.647
},
"oklch": {
"l": 0.9284,
"c": 0.15861,
"h": 111.1
},
"luminance": 0.81743
}Semantic roles & 50–950 ramp
primary
#ECF168
secondary
#3A35C8
accent
#06DF0E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F