#EDF371#EDF371
#EDF371 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.4% C 0.153 H 111.4°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF371 |
|---|---|
| RGB | rgb(237, 243, 113) |
| HSL | hsl(63, 84%, 70%) |
| HSV | hsv(63, 53%, 95%) |
| CMYK | cmyk(2.5%, 0%, 53.5%, 4.7%) |
| CIE-LAB | lab(93.15, -19.01, 60.98) |
| CIE-LCH | lch(93.15, 63.87, 107.32°) |
| OKLab | oklab(93.43% -0.0558 0.1423) |
| OKLCH | oklch(93.43% 0.153 111.4) |
| XYZ | xyz(69.9579, 83.2994, 28.0127) |
| Luminance | 0.8330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.60
Faded Yellow
#FEFF7F
ΔE00 2.89
Straw
#FCF679
ΔE00 2.98
Light Yellow
#FFFE7A
ΔE00 3.00
Banana (survey)
#FFFF7E
ΔE00 3.01
Custard
#FFFD78
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF371 #7771F3
analogous
#F3B871 #EDF371 #ACF371
triadic
#EDF371 #71EDF3 #F371ED
tetradic
#EDF371 #71F3B8 #7771F3 #F371AC
square
#EDF371 #71F3B8 #7771F3 #F371AC
split-complementary
#EDF371 #71ACF3 #B871F3
monochromatic
#CED712 #E6EE39 #EDF371 #F4F8A9 #FBFDE2
Accessibility & contrast
On white
1.19
#EDF371 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.66
#EDF371 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF371
17.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF371 | 1.00 | 1.19 | 17.66 | 17.66 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FBE6D6
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #edf371; /* rgb */ color: rgb(237, 243, 113); /* oklch */ color: oklch(93.4% 0.153 111.4);
Tailwind
colors: {
custom: {
50: '#f5f69d',
500: '#edf371',
950: '#000000',
},
}SCSS
$custom: #edf371; $custom-light: #f5f69d; $custom-dark: #000000;
JSON
{
"hex": "#edf371",
"rgb": {
"r": 237,
"g": 243,
"b": 113
},
"hsl": {
"h": 62.769,
"s": 84.416,
"l": 69.804
},
"oklch": {
"l": 0.93432,
"c": 0.15285,
"h": 111.4
},
"luminance": 0.83298
}Semantic roles & 50–950 ramp
primary
#EDF371
secondary
#423BCD
accent
#05E10F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580