#ECF27E#ECF27E
#ECF27E is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.140 H 111.5°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF27E |
|---|---|
| RGB | rgb(236, 242, 126) |
| HSL | hsl(63, 82%, 72%) |
| HSV | hsv(63, 48%, 95%) |
| CMYK | cmyk(2.5%, 0%, 47.9%, 5.1%) |
| CIE-LAB | lab(92.95, -17.82, 54.82) |
| CIE-LCH | lch(92.95, 57.65, 108.01°) |
| OKLab | oklab(93.3% -0.0511 0.1301) |
| OKLCH | oklch(93.3% 0.14 111.5) |
| XYZ | xyz(70.1114, 82.8448, 32.0319) |
| Luminance | 0.8284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.85
Pale Yellow
#FFFF84
ΔE00 3.34
Manilla
#FFFA86
ΔE00 3.34
Faded Yellow
#FEFF7F
ΔE00 3.41
Butter
#FFFF81
ΔE00 3.45
Straw
#FCF679
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF27E #847EF2
analogous
#F2BE7E #ECF27E #B2F27E
triadic
#ECF27E #7EECF2 #F27EEC
tetradic
#ECF27E #7EF2BE #847EF2 #F27EB2
square
#ECF27E #7EF2BE #847EF2 #F27EB2
split-complementary
#ECF27E #7EB2F2 #BE7EF2
monochromatic
#D5DF16 #E4EC46 #ECF27E #F4F8B6 #FBFCE3
Accessibility & contrast
On white
1.20
#ECF27E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.57
#ECF27E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF27E
17.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF27E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF27E | 1.00 | 1.20 | 17.57 | 17.57 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE974
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#F9E6D7
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ecf27e; /* rgb */ color: rgb(236, 242, 126); /* oklch */ color: oklch(93.3% 0.140 111.5);
Tailwind
colors: {
custom: {
50: '#f4f6a6',
500: '#ecf27e',
950: '#000000',
},
}SCSS
$custom: #ecf27e; $custom-light: #f4f6a6; $custom-dark: #000000;
JSON
{
"hex": "#ecf27e",
"rgb": {
"r": 236,
"g": 242,
"b": 126
},
"hsl": {
"h": 63.103,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.93299,
"c": 0.13981,
"h": 111.5
},
"luminance": 0.82843
}Semantic roles & 50–950 ramp
primary
#ECF27E
secondary
#4E47CD
accent
#07DE13
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580