#ECF792#ECF792
#ECF792 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.125 H 113.9°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF792 |
|---|---|
| RGB | rgb(236, 247, 146) |
| HSL | hsl(67, 86%, 77%) |
| HSV | hsv(67, 41%, 97%) |
| CMYK | cmyk(4.5%, 0%, 40.9%, 3.1%) |
| CIE-LAB | lab(94.50, -18.30, 47.24) |
| CIE-LCH | lch(94.50, 50.66, 111.17°) |
| OKLab | oklab(94.62% -0.0508 0.1146) |
| OKLCH | oklch(94.62% 0.125 113.9) |
| XYZ | xyz(73.0419, 86.4307, 40.0235) |
| Luminance | 0.8643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.56
Yellowish Tan
#FCFC81
ΔE00 4.47
Pale Yellow
#FFFF84
ΔE00 4.65
Manilla
#FFFA86
ΔE00 4.78
Butter
#FFFF81
ΔE00 4.92
Faded Yellow
#FEFF7F
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF792 #9D92F7
analogous
#F7D092 #ECF792 #B9F792
triadic
#ECF792 #92ECF7 #F792EC
tetradic
#ECF792 #92F7D0 #9D92F7 #F792B9
square
#ECF792 #92F7D0 #9D92F7 #F792B9
split-complementary
#ECF792 #92B9F7 #D092F7
monochromatic
#D8EF20 #E2F359 #ECF792 #F6FBCB #FAFDE2
Accessibility & contrast
On white
1.15
#ECF792 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.29
#ECF792 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF792
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF792 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF792 | 1.00 | 1.15 | 18.29 | 18.29 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE8A
Deuteranopia (green-blind)
#FFF097
Tritanopia (blue-blind)
#F7ECDF
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #ecf792; /* rgb */ color: rgb(236, 247, 146); /* oklch */ color: oklch(94.6% 0.125 113.9);
Tailwind
colors: {
custom: {
50: '#f3f9b3',
500: '#ecf792',
950: '#000000',
},
}SCSS
$custom: #ecf792; $custom-light: #f3f9b3; $custom-dark: #000000;
JSON
{
"hex": "#ecf792",
"rgb": {
"r": 236,
"g": 247,
"b": 146
},
"hsl": {
"h": 66.535,
"s": 86.325,
"l": 77.059
},
"oklch": {
"l": 0.94615,
"c": 0.12535,
"h": 113.9
},
"luminance": 0.8643
}Semantic roles & 50–950 ramp
primary
#ECF792
secondary
#6558D6
accent
#03E31B
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581