#EDF266#EDF266
#EDF266 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.1% C 0.161 H 111.1°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF266 |
|---|---|
| RGB | rgb(237, 242, 102) |
| HSL | hsl(62, 84%, 67%) |
| HSV | hsv(62, 58%, 95%) |
| CMYK | cmyk(2.1%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(92.78, -19.35, 65.34) |
| CIE-LCH | lch(92.78, 68.14, 106.49°) |
| OKLab | oklab(93.11% -0.0579 0.1504) |
| OKLCH | oklch(93.11% 0.161 111.1) |
| XYZ | xyz(69.0773, 82.4697, 24.8472) |
| Luminance | 0.8247 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.98
Pastel Yellow
#FFFE71
ΔE00 3.01
Custard
#FFFD78
ΔE00 3.04
Straw
#FCF679
ΔE00 3.11
Light Yellow
#FFFE7A
ΔE00 3.12
Yellowish Tan
#FCFC81
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF266 #6B66F2
analogous
#F2B166 #EDF266 #A7F266
triadic
#EDF266 #66EDF2 #F266ED
tetradic
#EDF266 #66F2B1 #6B66F2 #F266A7
square
#EDF266 #66F2B1 #6B66F2 #F266A7
split-complementary
#EDF266 #66A7F2 #B166F2
monochromatic
#C6CC11 #E6ED2E #EDF266 #F4F79E #FAFCD7
Accessibility & contrast
On white
1.20
#EDF266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.49
#EDF266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF266
17.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF266 | 1.00 | 1.20 | 17.49 | 17.49 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FCE5D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #edf266; /* rgb */ color: rgb(237, 242, 102); /* oklch */ color: oklch(93.1% 0.161 111.1);
Tailwind
colors: {
custom: {
50: '#f6f697',
500: '#edf266',
950: '#000000',
},
}SCSS
$custom: #edf266; $custom-light: #f6f697; $custom-dark: #000000;
JSON
{
"hex": "#edf266",
"rgb": {
"r": 237,
"g": 242,
"b": 102
},
"hsl": {
"h": 62.143,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.93109,
"c": 0.16113,
"h": 111.1
},
"luminance": 0.82468
}Semantic roles & 50–950 ramp
primary
#EDF266
secondary
#3934C9
accent
#05E10D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F