#EDE397#EDE397
#EDE397 is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.097 H 101.7°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).
Color values
| HEX | #EDE397 |
|---|---|
| RGB | rgb(237, 227, 151) |
| HSL | hsl(53, 70%, 76%) |
| HSV | hsv(53, 36%, 93%) |
| CMYK | cmyk(0%, 4.2%, 36.3%, 7.1%) |
| CIE-LAB | lab(89.48, -7.49, 38.38) |
| CIE-LCH | lch(89.48, 39.10, 101.05°) |
| OKLab | oklab(90.67% -0.0195 0.0946) |
| OKLCH | oklch(90.67% 0.097 101.7) |
| XYZ | xyz(67.9811, 75.1788, 40.2020) |
| Luminance | 0.7518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.39
Palegoldenrod
#EEE8AA
ΔE00 3.16
Light Tan
#FBEEAC
ΔE00 3.41
Vanilla
#F3E5AB
ΔE00 3.92
Dark Cream
#FFF39A
ΔE00 4.00
Buff
#FEF69E
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDE397 #97A1ED
analogous
#EDB897 #EDE397 #CCED97
triadic
#EDE397 #97EDE3 #E397ED
tetradic
#EDE397 #97EDB8 #97A1ED #ED97CC
square
#EDE397 #97EDB8 #97A1ED #ED97CC
split-complementary
#EDE397 #97CCED #B897ED
monochromatic
#DBC72F #E4D563 #EDE397 #F6F1CB #FAF8E5
Accessibility & contrast
On white
1.31
#EDE397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.04
#EDE397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDE397
16.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDE397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDE397 | 1.00 | 1.31 | 16.04 | 16.04 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F4E39A
Tritanopia (blue-blind)
#F9D9D0
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #ede397; /* rgb */ color: rgb(237, 227, 151); /* oklch */ color: oklch(90.7% 0.097 101.7);
Tailwind
colors: {
custom: {
50: '#f4ebb6',
500: '#ede397',
950: '#000000',
},
}SCSS
$custom: #ede397; $custom-light: #f4ebb6; $custom-dark: #000000;
JSON
{
"hex": "#ede397",
"rgb": {
"r": 237,
"g": 227,
"b": 151
},
"hsl": {
"h": 53.023,
"s": 70.492,
"l": 76.078
},
"oklch": {
"l": 0.90667,
"c": 0.09656,
"h": 101.7
},
"luminance": 0.75177
}Semantic roles & 50–950 ramp
primary
#EDE397
secondary
#5F6CC9
accent
#29D313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481