#ECF2AF#ECF2AF
#ECF2AF is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.086 H 112.2°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF2AF |
|---|---|
| RGB | rgb(236, 242, 175) |
| HSL | hsl(65, 72%, 82%) |
| HSV | hsv(65, 28%, 95%) |
| CMYK | cmyk(2.5%, 0%, 27.7%, 5.1%) |
| CIE-LAB | lab(93.64, -12.43, 31.76) |
| CIE-LCH | lch(93.64, 34.11, 111.38°) |
| OKLab | oklab(94.08% -0.0325 0.0797) |
| OKLCH | oklch(94.08% 0.086 112.2) |
| XYZ | xyz(74.0820, 84.4331, 52.9437) |
| Luminance | 0.8443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.68
Light Beige
#FFFEB6
ΔE00 3.45
Creme
#FFFFB6
ΔE00 3.49
Cream (survey)
#FFFFC2
ΔE00 3.60
Parchment
#FEFCAF
ΔE00 3.72
Palegoldenrod
#EEE8AA
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF2AF #B5AFF2
analogous
#F2D7AF #ECF2AF #CBF2AF
triadic
#ECF2AF #AFECF2 #F2AFEC
tetradic
#ECF2AF #AFF2D7 #B5AFF2 #F2AFCB
square
#ECF2AF #AFF2D7 #B5AFF2 #F2AFCB
split-complementary
#ECF2AF #AFCBF2 #D7AFF2
monochromatic
#D3E146 #DFE97A #ECF2AF #F9FBE4 #F9FBE5
Accessibility & contrast
On white
1.17
#ECF2AF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.89
#ECF2AF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF2AF
17.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF2AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF2AF | 1.00 | 1.17 | 17.89 | 17.89 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCECAB
Deuteranopia (green-blind)
#FCEEB2
Tritanopia (blue-blind)
#F4EAE0
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #ecf2af; /* rgb */ color: rgb(236, 242, 175); /* oklch */ color: oklch(94.1% 0.086 112.2);
Tailwind
colors: {
custom: {
50: '#f2f6c7',
500: '#ecf2af',
950: '#000000',
},
}SCSS
$custom: #ecf2af; $custom-light: #f2f6c7; $custom-dark: #000000;
JSON
{
"hex": "#ecf2af",
"rgb": {
"r": 236,
"g": 242,
"b": 175
},
"hsl": {
"h": 65.373,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.94075,
"c": 0.08608,
"h": 112.2
},
"luminance": 0.84432
}Semantic roles & 50–950 ramp
primary
#ECF2AF
secondary
#7C74D1
accent
#11D423
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582