#E7D57A#E7D57A

#E7D57A is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.114 H 98.4°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E7D57A
RGBrgb(231, 213, 122)
HSLhsl(50, 69%, 69%)
HSVhsv(50, 47%, 91%)
CMYKcmyk(0%, 7.8%, 47.2%, 9.4%)
CIE-LABlab(84.99, -5.75, 46.98)
CIE-LCHlch(84.99, 47.33, 96.98°)
OKLaboklab(86.86% -0.0166 0.1126)
OKLCHoklch(86.86% 0.114 98.4)
XYZxyz(60.2638, 65.9847, 27.9705)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D57A #7A8CE7
analogous
#E79F7A #E7D57A #C3E77A
triadic
#E7D57A #7AE7D5 #D57AE7
tetradic
#E7D57A #7AE79F #7A8CE7 #E77AC3
square
#E7D57A #7AE79F #7A8CE7 #E77AC3
split-complementary
#E7D57A #7AC3E7 #9F7AE7
monochromatic
#C3A923 #DEC546 #E7D57A #F0E5AE #FAF6E2

Accessibility & contrast

On white

1.48
#E7D57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#E7D57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D57A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D57A#FFFFFF#000000##000000
##E7D57A1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D072
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#F6C9BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d57a;
/* rgb */ color: rgb(231, 213, 122);
/* oklch */ color: oklch(86.9% 0.114 98.4);
Tailwind
colors: {
  custom: {
    50: '#f0e1a2',
    500: '#e7d57a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d57a;
$custom-light: #f0e1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d57a",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 122
  },
  "hsl": {
    "h": 50.092,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86863,
    "c": 0.11381,
    "h": 98.4
  },
  "luminance": 0.65983
}

Semantic roles & 50–950 ramp

primary
#E7D57A
secondary
#465ABF
accent
#33D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D57A

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

Preview Lab → · Contrast checker → · Palette generator →

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