#EDF398#EDF398
#EDF398 is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.114 H 111.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF398 |
|---|---|
| RGB | rgb(237, 243, 152) |
| HSL | hsl(64, 79%, 77%) |
| HSV | hsv(64, 37%, 95%) |
| CMYK | cmyk(2.5%, 0%, 37.4%, 4.7%) |
| CIE-LAB | lab(93.61, -15.32, 43.22) |
| CIE-LCH | lch(93.61, 45.85, 109.52°) |
| OKLab | oklab(93.96% -0.0419 0.1057) |
| OKLCH | oklch(93.96% 0.114 111.6) |
| XYZ | xyz(72.6438, 84.3738, 42.1586) |
| Luminance | 0.8437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.61
Buff
#FEF69E
ΔE00 3.78
Parchment
#FEFCAF
ΔE00 3.78
Creme
#FFFFB6
ΔE00 4.44
Light Beige
#FFFEB6
ΔE00 4.55
Khaki (CSS)
#F0E68C
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF398 #9E98F3
analogous
#F3CB98 #EDF398 #C0F398
triadic
#EDF398 #98EDF3 #F398ED
tetradic
#EDF398 #98F3CB #9E98F3 #F398C0
square
#EDF398 #98F3CB #9E98F3 #F398C0
split-complementary
#EDF398 #98C0F3 #CB98F3
monochromatic
#DAE62A #E3ED61 #EDF398 #F7F9CF #FAFCE4
Accessibility & contrast
On white
1.17
#EDF398 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.87
#EDF398 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF398
17.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF398 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF398 | 1.00 | 1.17 | 17.87 | 17.87 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#F8E9DC
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #edf398; /* rgb */ color: rgb(237, 243, 152); /* oklch */ color: oklch(94.0% 0.114 111.6);
Tailwind
colors: {
custom: {
50: '#f4f7b7',
500: '#edf398',
950: '#000000',
},
}SCSS
$custom: #edf398; $custom-light: #f4f7b7; $custom-dark: #000000;
JSON
{
"hex": "#edf398",
"rgb": {
"r": 237,
"g": 243,
"b": 152
},
"hsl": {
"h": 63.956,
"s": 79.13,
"l": 77.451
},
"oklch": {
"l": 0.93956,
"c": 0.11374,
"h": 111.6
},
"luminance": 0.84373
}Semantic roles & 50–950 ramp
primary
#EDF398
secondary
#665ED1
accent
#0ADB18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581