#ECF292#ECF292
#ECF292 is a very light, moderate yellow. Relative luminance 0.834; OKLCH L 93.6% C 0.119 H 111.6°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF292 |
|---|---|
| RGB | rgb(236, 242, 146) |
| HSL | hsl(64, 79%, 76%) |
| HSV | hsv(64, 40%, 95%) |
| CMYK | cmyk(2.5%, 0%, 39.7%, 5.1%) |
| CIE-LAB | lab(93.20, -15.86, 45.60) |
| CIE-LCH | lch(93.20, 48.28, 109.18°) |
| OKLab | oklab(93.58% -0.0438 0.1109) |
| OKLCH | oklch(93.58% 0.119 111.6) |
| XYZ | xyz(71.5333, 83.4136, 39.5207) |
| Luminance | 0.8341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.28
Buff
#FEF69E
ΔE00 3.95
Parchment
#FEFCAF
ΔE00 4.42
Manilla
#FFFA86
ΔE00 4.55
Khaki (CSS)
#F0E68C
ΔE00 4.55
Yellowish Tan
#FCFC81
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF292 #9892F2
analogous
#F2C892 #ECF292 #BCF292
triadic
#ECF292 #92ECF2 #F292EC
tetradic
#ECF292 #92F2C8 #9892F2 #F292BC
square
#ECF292 #92F2C8 #9892F2 #F292BC
split-complementary
#ECF292 #92BCF2 #C892F2
monochromatic
#D9E525 #E2EB5B #ECF292 #F6F9C9 #FAFCE4
Accessibility & contrast
On white
1.19
#ECF292 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.68
#ECF292 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF292
17.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF292 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF292 | 1.00 | 1.19 | 17.68 | 17.68 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA8B
Deuteranopia (green-blind)
#FFED96
Tritanopia (blue-blind)
#F7E8DB
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ecf292; /* rgb */ color: rgb(236, 242, 146); /* oklch */ color: oklch(93.6% 0.119 111.6);
Tailwind
colors: {
custom: {
50: '#f3f6b3',
500: '#ecf292',
950: '#000000',
},
}SCSS
$custom: #ecf292; $custom-light: #f3f6b3; $custom-dark: #000000;
JSON
{
"hex": "#ecf292",
"rgb": {
"r": 236,
"g": 242,
"b": 146
},
"hsl": {
"h": 63.75,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.93578,
"c": 0.11925,
"h": 111.6
},
"luminance": 0.83412
}Semantic roles & 50–950 ramp
primary
#ECF292
secondary
#6159CF
accent
#0BDB18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581