#ECF27C#ECF27C
#ECF27C is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.142 H 111.4°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF27C |
|---|---|
| RGB | rgb(236, 242, 124) |
| HSL | hsl(63, 82%, 72%) |
| HSV | hsv(63, 49%, 95%) |
| CMYK | cmyk(2.5%, 0%, 48.8%, 5.1%) |
| CIE-LAB | lab(92.92, -18.00, 55.72) |
| CIE-LCH | lch(92.92, 58.56, 107.90°) |
| OKLab | oklab(93.27% -0.0518 0.1319) |
| OKLCH | oklch(93.27% 0.142 111.4) |
| XYZ | xyz(69.9836, 82.7937, 31.3590) |
| Luminance | 0.8279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.77
Pale Yellow
#FFFF84
ΔE00 3.28
Faded Yellow
#FEFF7F
ΔE00 3.31
Manilla
#FFFA86
ΔE00 3.33
Straw
#FCF679
ΔE00 3.34
Butter
#FFFF81
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF27C #827CF2
analogous
#F2BD7C #ECF27C #B1F27C
triadic
#ECF27C #7CECF2 #F27CEC
tetradic
#ECF27C #7CF2BD #827CF2 #F27CB1
square
#ECF27C #7CF2BD #827CF2 #F27CB1
split-complementary
#ECF27C #7CB1F2 #BD7CF2
monochromatic
#D3DE16 #E4EC44 #ECF27C #F4F8B4 #FBFCE3
Accessibility & contrast
On white
1.20
#ECF27C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.56
#ECF27C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF27C
17.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF27C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF27C | 1.00 | 1.20 | 17.56 | 17.56 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE971
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#F9E6D7
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ecf27c; /* rgb */ color: rgb(236, 242, 124); /* oklch */ color: oklch(93.3% 0.142 111.4);
Tailwind
colors: {
custom: {
50: '#f4f6a4',
500: '#ecf27c',
950: '#000000',
},
}SCSS
$custom: #ecf27c; $custom-light: #f4f6a4; $custom-dark: #000000;
JSON
{
"hex": "#ecf27c",
"rgb": {
"r": 236,
"g": 242,
"b": 124
},
"hsl": {
"h": 63.051,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.93274,
"c": 0.14176,
"h": 111.4
},
"luminance": 0.82792
}Semantic roles & 50–950 ramp
primary
#ECF27C
secondary
#4C45CD
accent
#07DE12
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580