#E7DF5E#E7DF5E

#E7DF5E is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.149 H 105.7°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#E7DF5E
RGBrgb(231, 223, 94)
HSLhsl(56, 74%, 64%)
HSVhsv(56, 59%, 91%)
CMYKcmyk(0%, 3.5%, 59.3%, 9.4%)
CIE-LABlab(87.28, -13.02, 62.55)
CIE-LCHlch(87.28, 63.89, 101.75°)
OKLaboklab(88.58% -0.0404 0.1436)
OKLCHoklch(88.58% 0.149 105.7)
XYZxyz(61.3651, 70.5744, 20.9773)
Luminance0.7057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF5E #5E66E7
analogous
#E79A5E #E7DF5E #AAE75E
triadic
#E7DF5E #5EE7DF #DF5EE7
tetradic
#E7DF5E #5EE79A #5E66E7 #E75EAA
square
#E7DF5E #5EE79A #5E66E7 #E75EAA
split-complementary
#E7DF5E #5EAAE7 #9A5EE7
monochromatic
#B0A81A #DFD429 #E7DF5E #EFEA93 #F7F4C9

Accessibility & contrast

On white

1.39
#E7DF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#E7DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF5E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF5E#FFFFFF#000000##000000
##E7DF5E1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74F
Deuteranopia (green-blind)
#F4DD65
Tritanopia (blue-blind)
#F7D1C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df5e;
/* rgb */ color: rgb(231, 223, 94);
/* oklch */ color: oklch(88.6% 0.149 105.7);
Tailwind
colors: {
  custom: {
    50: '#f1e890',
    500: '#e7df5e',
    950: '#000000',
  },
}
SCSS
$custom: #e7df5e;
$custom-light: #f1e890;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df5e",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 56.496,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88584,
    "c": 0.14915,
    "h": 105.7
  },
  "luminance": 0.70572
}

Semantic roles & 50–950 ramp

primary
#E7DF5E
secondary
#383FB1
accent
#1BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7DF5E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E7DF5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva