#EDF762#EDF762
#EDF762 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.1% C 0.170 H 112.8°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF762 |
|---|---|
| RGB | rgb(237, 247, 98) |
| HSL | hsl(64, 90%, 68%) |
| HSV | hsv(64, 60%, 97%) |
| CMYK | cmyk(4%, 0%, 60.3%, 3.1%) |
| CIE-LAB | lab(94.06, -22.02, 68.39) |
| CIE-LCH | lch(94.06, 71.85, 107.85°) |
| OKLab | oklab(94.12% -0.0658 0.1564) |
| OKLCH | oklch(94.12% 0.17 112.8) |
| XYZ | xyz(70.3922, 85.4093, 24.3304) |
| Luminance | 0.8541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.74
Pastel Yellow
#FFFE71
ΔE00 3.03
Butter Yellow
#FFFD74
ΔE00 3.19
Light Yellow
#FFFE7A
ΔE00 3.33
Custard
#FFFD78
ΔE00 3.34
Faded Yellow
#FEFF7F
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF762 #6C62F7
analogous
#F7B762 #EDF762 #A2F762
triadic
#EDF762 #62EDF7 #F762ED
tetradic
#EDF762 #62F7B7 #6C62F7 #F762A2
square
#EDF762 #62F7B7 #6C62F7 #F762A2
split-complementary
#EDF762 #62A2F7 #B762F7
monochromatic
#C6D40B #E6F428 #EDF762 #F4FA9C #FAFDD6
Accessibility & contrast
On white
1.16
#EDF762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.08
#EDF762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF762
18.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF762 | 1.00 | 1.16 | 18.08 | 18.08 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FCE9D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #edf762; /* rgb */ color: rgb(237, 247, 98); /* oklch */ color: oklch(94.1% 0.170 112.8);
Tailwind
colors: {
custom: {
50: '#f6f995',
500: '#edf762',
950: '#000000',
},
}SCSS
$custom: #edf762; $custom-light: #f6f995; $custom-dark: #000000;
JSON
{
"hex": "#edf762",
"rgb": {
"r": 237,
"g": 247,
"b": 98
},
"hsl": {
"h": 64.027,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.94119,
"c": 0.16964,
"h": 112.8
},
"luminance": 0.85408
}Semantic roles & 50–950 ramp
primary
#EDF762
secondary
#392FCF
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F