#E7DE57#E7DE57

#E7DE57 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.3% C 0.154 H 105.5°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#E7DE57
RGBrgb(231, 222, 87)
HSLhsl(56, 75%, 62%)
HSVhsv(56, 62%, 91%)
CMYKcmyk(0%, 3.9%, 62.3%, 9.4%)
CIE-LABlab(86.96, -12.97, 65.15)
CIE-LCHlch(86.96, 66.43, 101.26°)
OKLaboklab(88.31% -0.0411 0.1481)
OKLCHoklch(88.31% 0.154 105.5)
XYZxyz(60.7987, 69.9217, 19.3086)
Luminance0.6992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DE57 #5760E7
analogous
#E79657 #E7DE57 #A8E757
triadic
#E7DE57 #57E7DE #DE57E7
tetradic
#E7DE57 #57E796 #5760E7 #E757A8
square
#E7DE57 #57E796 #5760E7 #E757A8
split-complementary
#E7DE57 #57A8E7 #9657E7
monochromatic
#ABA218 #DFD321 #E7DE57 #EFE98D #F6F3C2

Accessibility & contrast

On white

1.40
#E7DE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#E7DE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DE57
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DE57#FFFFFF#000000##000000
##E7DE571.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D646
Deuteranopia (green-blind)
#F4DD5F
Tritanopia (blue-blind)
#F7D0C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7de57;
/* rgb */ color: rgb(231, 222, 87);
/* oklch */ color: oklch(88.3% 0.154 105.5);
Tailwind
colors: {
  custom: {
    50: '#f2e88c',
    500: '#e7de57',
    950: '#000000',
  },
}
SCSS
$custom: #e7de57;
$custom-light: #f2e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7de57",
  "rgb": {
    "r": 231,
    "g": 222,
    "b": 87
  },
  "hsl": {
    "h": 56.25,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88311,
    "c": 0.15372,
    "h": 105.5
  },
  "luminance": 0.6992
}

Semantic roles & 50–950 ramp

primary
#E7DE57
secondary
#363DAC
accent
#1BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DE57

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

Preview Lab → · Contrast checker → · Palette generator →

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