#E6E172#E6E172
#E6E172 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.1% C 0.134 H 106.5°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E6E172 |
|---|---|
| RGB | rgb(230, 225, 114) |
| HSL | hsl(57, 70%, 67%) |
| HSV | hsv(57, 50%, 90%) |
| CMYK | cmyk(0%, 2.2%, 50.4%, 9.8%) |
| CIE-LAB | lab(87.92, -12.89, 54.30) |
| CIE-LCH | lch(87.92, 55.81, 103.36°) |
| OKLab | oklab(89.14% -0.0379 0.1281) |
| OKLCH | oklch(89.14% 0.134 106.5) |
| XYZ | xyz(62.5972, 71.8901, 26.4951) |
| Luminance | 0.7189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.57
Dull Yellow
#EEDC5B
ΔE00 4.18
Sandy Yellow
#FDEE73
ΔE00 4.32
Yellowish
#FAEE66
ΔE00 4.56
Straw
#FCF679
ΔE00 4.75
Sandy
#F1DA7A
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E6E172 #7277E6
analogous
#E6A772 #E6E172 #B1E672
triadic
#E6E172 #72E6E1 #E172E6
tetradic
#E6E172 #72E6A7 #7277E6 #E672B1
square
#E6E172 #72E6A7 #7277E6 #E672B1
split-complementary
#E6E172 #72B1E6 #A772E6
monochromatic
#BCB621 #DDD63E #E6E172 #EFECA6 #F8F7DA
Accessibility & contrast
On white
1.37
#E6E172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.38
#E6E172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E6E172
15.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E6E172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E6E172 | 1.00 | 1.37 | 15.38 | 15.38 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#F3DF77
Tritanopia (blue-blind)
#F4D5C8
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e6e172; /* rgb */ color: rgb(230, 225, 114); /* oklch */ color: oklch(89.1% 0.134 106.5);
Tailwind
colors: {
custom: {
50: '#f0ea9d',
500: '#e6e172',
950: '#000000',
},
}SCSS
$custom: #e6e172; $custom-light: #f0ea9d; $custom-dark: #000000;
JSON
{
"hex": "#e6e172",
"rgb": {
"r": 230,
"g": 225,
"b": 114
},
"hsl": {
"h": 57.414,
"s": 69.88,
"l": 67.451
},
"oklch": {
"l": 0.89135,
"c": 0.13354,
"h": 106.5
},
"luminance": 0.71888
}Semantic roles & 50–950 ramp
primary
#E6E172
secondary
#4046BC
accent
#1CD214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F