#E7D361#E7D361
#E7D361 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.136 H 99.5°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D361 |
|---|---|
| RGB | rgb(231, 211, 97) |
| HSL | hsl(51, 74%, 64%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 8.7%, 58%, 9.4%) |
| CIE-LAB | lab(84.20, -6.79, 57.81) |
| CIE-LCH | lch(84.20, 58.21, 96.69°) |
| OKLab | oklab(86.14% -0.0223 0.1338) |
| OKLCH | oklch(86.14% 0.136 99.5) |
| XYZ | xyz(58.4091, 64.4429, 20.6690) |
| Luminance | 0.6444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.61
Sandy
#F1DA7A
ΔE00 3.26
Light Mustard
#F7D560
ΔE00 3.88
Sand Yellow
#FCE166
ΔE00 3.95
Pale Gold
#FDDE6C
ΔE00 4.14
Maize
#F4D054
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D361 #6175E7
analogous
#E79061 #E7D361 #B8E761
triadic
#E7D361 #61E7D3 #D361E7
tetradic
#E7D361 #61E790 #6175E7 #E761B8
square
#E7D361 #61E790 #6175E7 #E761B8
split-complementary
#E7D361 #61B8E7 #9061E7
monochromatic
#B29C1B #DFC42C #E7D361 #EFE296 #F7F1CB
Accessibility & contrast
On white
1.51
#E7D361 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.89
#E7D361 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D361
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D361 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D361 | 1.00 | 1.51 | 13.89 | 13.89 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE55
Deuteranopia (green-blind)
#EBD567
Tritanopia (blue-blind)
#F7C5BA
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d361; /* rgb */ color: rgb(231, 211, 97); /* oklch */ color: oklch(86.1% 0.136 99.5);
Tailwind
colors: {
custom: {
50: '#f1e092',
500: '#e7d361',
950: '#000000',
},
}SCSS
$custom: #e7d361; $custom-light: #f1e092; $custom-dark: #000000;
JSON
{
"hex": "#e7d361",
"rgb": {
"r": 231,
"g": 211,
"b": 97
},
"hsl": {
"h": 51.045,
"s": 73.626,
"l": 64.314
},
"oklch": {
"l": 0.86144,
"c": 0.13567,
"h": 99.5
},
"luminance": 0.64441
}Semantic roles & 50–950 ramp
primary
#E7D361
secondary
#394BB3
accent
#2DD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F