#E7DF5B#E7DF5B

#E7DF5B is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.6% C 0.152 H 105.8°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#E7DF5B
RGBrgb(231, 223, 91)
HSLhsl(57, 74%, 63%)
HSVhsv(57, 61%, 91%)
CMYKcmyk(0%, 3.5%, 60.6%, 9.4%)
CIE-LABlab(87.25, -13.22, 63.80)
CIE-LCHlch(87.25, 65.15, 101.70°)
OKLaboklab(88.56% -0.0413 0.1458)
OKLCHoklch(88.56% 0.152 105.8)
XYZxyz(61.2331, 70.5216, 20.2820)
Luminance0.7052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF5B #5B63E7
analogous
#E7995B #E7DF5B #A9E75B
triadic
#E7DF5B #5BE7DF #DF5BE7
tetradic
#E7DF5B #5BE799 #5B63E7 #E75BA9
square
#E7DF5B #5BE799 #5B63E7 #E75BA9
split-complementary
#E7DF5B #5BA9E7 #995BE7
monochromatic
#AEA619 #DFD526 #E7DF5B #EFE990 #F7F4C6

Accessibility & contrast

On white

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

On black

15.10
#E7DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF5B
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF5B#FFFFFF#000000##000000
##E7DF5B1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7df5b;
/* rgb */ color: rgb(231, 223, 91);
/* oklch */ color: oklch(88.6% 0.152 105.8);
Tailwind
colors: {
  custom: {
    50: '#f2e88f',
    500: '#e7df5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7df5b;
$custom-light: #f2e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df5b",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 56.571,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88555,
    "c": 0.15156,
    "h": 105.8
  },
  "luminance": 0.7052
}

Semantic roles & 50–950 ramp

primary
#E7DF5B
secondary
#373EAF
accent
#1AD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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