#EDF166#EDF166
#EDF166 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.9% C 0.160 H 110.7°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF166 |
|---|---|
| RGB | rgb(237, 241, 102) |
| HSL | hsl(62, 83%, 67%) |
| HSV | hsv(62, 58%, 95%) |
| CMYK | cmyk(1.7%, 0%, 57.7%, 5.5%) |
| CIE-LAB | lab(92.52, -18.86, 65.05) |
| CIE-LCH | lch(92.52, 67.73, 106.17°) |
| OKLab | oklab(92.9% -0.0565 0.1498) |
| OKLCH | oklch(92.9% 0.16 110.7) |
| XYZ | xyz(68.7805, 81.8761, 24.7483) |
| Luminance | 0.8187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.99
Butter Yellow
#FFFD74
ΔE00 3.02
Custard
#FFFD78
ΔE00 3.08
Pastel Yellow
#FFFE71
ΔE00 3.08
Light Yellow
#FFFE7A
ΔE00 3.17
Yellowish Tan
#FCFC81
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF166 #6A66F1
analogous
#F1B066 #EDF166 #A7F166
triadic
#EDF166 #66EDF1 #F166ED
tetradic
#EDF166 #66F1B0 #6A66F1 #F166A7
square
#EDF166 #66F1B0 #6A66F1 #F166A7
split-complementary
#EDF166 #66A7F1 #B066F1
monochromatic
#C5CA12 #E6EC2E #EDF166 #F4F69E #FAFBD6
Accessibility & contrast
On white
1.21
#EDF166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.37
#EDF166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF166
17.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF166 | 1.00 | 1.21 | 17.37 | 17.37 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE756
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FCE3D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #edf166; /* rgb */ color: rgb(237, 241, 102); /* oklch */ color: oklch(92.9% 0.160 110.7);
Tailwind
colors: {
custom: {
50: '#f6f597',
500: '#edf166',
950: '#000000',
},
}SCSS
$custom: #edf166; $custom-light: #f6f597; $custom-dark: #000000;
JSON
{
"hex": "#edf166",
"rgb": {
"r": 237,
"g": 241,
"b": 102
},
"hsl": {
"h": 61.727,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.929,
"c": 0.16006,
"h": 110.7
},
"luminance": 0.81874
}Semantic roles & 50–950 ramp
primary
#EDF166
secondary
#3934C7
accent
#06E00C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F