#E7DF5D#E7DF5D

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

Color values

HEX#E7DF5D
RGBrgb(231, 223, 93)
HSLhsl(57, 74%, 64%)
HSVhsv(57, 60%, 91%)
CMYKcmyk(0%, 3.5%, 59.7%, 9.4%)
CIE-LABlab(87.27, -13.08, 62.97)
CIE-LCHlch(87.27, 64.32, 101.74°)
OKLaboklab(88.57% -0.0407 0.1443)
OKLCHoklch(88.57% 0.15 105.8)
XYZxyz(61.3205, 70.5566, 20.7425)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF5D #5D65E7
analogous
#E79A5D #E7DF5D #AAE75D
triadic
#E7DF5D #5DE7DF #DF5DE7
tetradic
#E7DF5D #5DE79A #5D65E7 #E75DAA
square
#E7DF5D #5DE79A #5D65E7 #E75DAA
split-complementary
#E7DF5D #5DAAE7 #9A5DE7
monochromatic
#B0A71A #DFD428 #E7DF5D #EFEA92 #F7F4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DF5D#FFFFFF#000000##000000
##E7DF5D1.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)
#F1D74E
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#F7D1C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df5d;
/* rgb */ color: rgb(231, 223, 93);
/* oklch */ color: oklch(88.6% 0.150 105.8);
Tailwind
colors: {
  custom: {
    50: '#f2e890',
    500: '#e7df5d',
    950: '#000000',
  },
}
SCSS
$custom: #e7df5d;
$custom-light: #f2e890;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df5d",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 56.522,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88574,
    "c": 0.14997,
    "h": 105.8
  },
  "luminance": 0.70555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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