#EDF262#EDF262
#EDF262 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.1% C 0.164 H 111.1°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF262 |
|---|---|
| RGB | rgb(237, 242, 98) |
| HSL | hsl(62, 85%, 67%) |
| HSV | hsv(62, 60%, 95%) |
| CMYK | cmyk(2.1%, 0%, 59.5%, 5.1%) |
| CIE-LAB | lab(92.75, -19.62, 66.97) |
| CIE-LCH | lch(92.75, 69.79, 106.33°) |
| OKLab | oklab(93.07% -0.0591 0.1533) |
| OKLCH | oklch(93.07% 0.164 111.1) |
| XYZ | xyz(68.8837, 82.3923, 23.8276) |
| Luminance | 0.8239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 3.01
Butter Yellow
#FFFD74
ΔE00 3.03
Canary
#FDFF63
ΔE00 3.07
Custard
#FFFD78
ΔE00 3.15
Light Yellow
#FFFE7A
ΔE00 3.25
Off Yellow
#F1F33F
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF262 #6762F2
analogous
#F2AF62 #EDF262 #A5F262
triadic
#EDF262 #62EDF2 #F262ED
tetradic
#EDF262 #62F2AF #6762F2 #F262A5
square
#EDF262 #62F2AF #6762F2 #F262A5
split-complementary
#EDF262 #62A5F2 #AF62F2
monochromatic
#C3C911 #E7ED29 #EDF262 #F3F79B #FAFBD3
Accessibility & contrast
On white
1.20
#EDF262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.48
#EDF262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF262
17.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF262 | 1.00 | 1.20 | 17.48 | 17.48 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFEC6B
Tritanopia (blue-blind)
#FCE4D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #edf262; /* rgb */ color: rgb(237, 242, 98); /* oklch */ color: oklch(93.1% 0.164 111.1);
Tailwind
colors: {
custom: {
50: '#f6f694',
500: '#edf262',
950: '#000000',
},
}SCSS
$custom: #edf262; $custom-light: #f6f694; $custom-dark: #000000;
JSON
{
"hex": "#edf262",
"rgb": {
"r": 237,
"g": 242,
"b": 98
},
"hsl": {
"h": 62.083,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.9307,
"c": 0.16432,
"h": 111.1
},
"luminance": 0.82391
}Semantic roles & 50–950 ramp
primary
#EDF262
secondary
#3833C6
accent
#04E10C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F