#EDF397#EDF397
#EDF397 is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.115 H 111.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF397 |
|---|---|
| RGB | rgb(237, 243, 151) |
| HSL | hsl(64, 79%, 77%) |
| HSV | hsv(64, 38%, 95%) |
| CMYK | cmyk(2.5%, 0%, 37.9%, 4.7%) |
| CIE-LAB | lab(93.60, -15.43, 43.69) |
| CIE-LCH | lch(93.60, 46.33, 109.45°) |
| OKLab | oklab(93.94% -0.0423 0.1068) |
| OKLCH | oklch(93.94% 0.115 111.6) |
| XYZ | xyz(72.5623, 84.3412, 41.7291) |
| Luminance | 0.8434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.74
Buff
#FEF69E
ΔE00 3.79
Parchment
#FEFCAF
ΔE00 3.88
Creme
#FFFFB6
ΔE00 4.56
Light Beige
#FFFEB6
ΔE00 4.66
Khaki (CSS)
#F0E68C
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF397 #9D97F3
analogous
#F3CB97 #EDF397 #BFF397
triadic
#EDF397 #97EDF3 #F397ED
tetradic
#EDF397 #97F3CB #9D97F3 #F397BF
square
#EDF397 #97F3CB #9D97F3 #F397BF
split-complementary
#EDF397 #97BFF3 #CB97F3
monochromatic
#DAE629 #E4ED60 #EDF397 #F6F9CE #FAFCE4
Accessibility & contrast
On white
1.18
#EDF397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.87
#EDF397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF397
17.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF397 | 1.00 | 1.18 | 17.87 | 17.87 |
| #FFFFFF | 1.18 | 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)
#FFEB90
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#F8E9DC
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #edf397; /* rgb */ color: rgb(237, 243, 151); /* oklch */ color: oklch(93.9% 0.115 111.6);
Tailwind
colors: {
custom: {
50: '#f4f7b7',
500: '#edf397',
950: '#000000',
},
}SCSS
$custom: #edf397; $custom-light: #f4f7b7; $custom-dark: #000000;
JSON
{
"hex": "#edf397",
"rgb": {
"r": 237,
"g": 243,
"b": 151
},
"hsl": {
"h": 63.913,
"s": 79.31,
"l": 77.255
},
"oklch": {
"l": 0.9394,
"c": 0.11484,
"h": 111.6
},
"luminance": 0.8434
}Semantic roles & 50–950 ramp
primary
#EDF397
secondary
#655DD1
accent
#0ADC18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581