#E7DF58#E7DF58

#E7DF58 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.5% C 0.154 H 105.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#E7DF58
RGBrgb(231, 223, 88)
HSLhsl(57, 75%, 63%)
HSVhsv(57, 62%, 91%)
CMYKcmyk(0%, 3.5%, 61.9%, 9.4%)
CIE-LABlab(87.23, -13.41, 65.02)
CIE-LCHlch(87.23, 66.39, 101.65°)
OKLaboklab(88.53% -0.0422 0.148)
OKLCHoklch(88.53% 0.154 105.9)
XYZxyz(61.1063, 70.4709, 19.6140)
Luminance0.7047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF58 #5860E7
analogous
#E79758 #E7DF58 #A8E758
triadic
#E7DF58 #58E7DF #DF58E7
tetradic
#E7DF58 #58E797 #5860E7 #E758A8
square
#E7DF58 #58E797 #5860E7 #E758A8
split-complementary
#E7DF58 #58A8E7 #9758E7
monochromatic
#ACA419 #DFD522 #E7DF58 #EFE98E #F6F4C3

Accessibility & contrast

On white

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

On black

15.09
#E7DF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF58
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF58#FFFFFF#000000##000000
##E7DF581.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D748
Deuteranopia (green-blind)
#F4DD60
Tritanopia (blue-blind)
#F7D1C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df58;
/* rgb */ color: rgb(231, 223, 88);
/* oklch */ color: oklch(88.5% 0.154 105.9);
Tailwind
colors: {
  custom: {
    50: '#f2e88d',
    500: '#e7df58',
    950: '#000000',
  },
}
SCSS
$custom: #e7df58;
$custom-light: #f2e88d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df58",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 88
  },
  "hsl": {
    "h": 56.643,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88527,
    "c": 0.1539,
    "h": 105.9
  },
  "luminance": 0.70469
}

Semantic roles & 50–950 ramp

primary
#E7DF58
secondary
#363DAD
accent
#1AD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7DF58

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

Preview Lab → · Contrast checker → · Palette generator →

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