#E7CD57#E7CD57

#E7CD57 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.139 H 96.9°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E7CD57
RGBrgb(231, 205, 87)
HSLhsl(49, 75%, 62%)
HSVhsv(49, 62%, 91%)
CMYKcmyk(0%, 11.3%, 62.3%, 9.4%)
CIE-LABlab(82.56, -4.41, 60.42)
CIE-LCHlch(82.56, 60.58, 94.17°)
OKLaboklab(84.82% -0.0166 0.1381)
OKLCHoklch(84.82% 0.139 96.9)
XYZxyz(56.5091, 61.3424, 17.8787)
Luminance0.6134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD57 #5771E7
analogous
#E78557 #E7CD57 #B9E757
triadic
#E7CD57 #57E7CD #CD57E7
tetradic
#E7CD57 #57E785 #5771E7 #E757B9
square
#E7CD57 #57E785 #5771E7 #E757B9
split-complementary
#E7CD57 #57B9E7 #8557E7
monochromatic
#AB9118 #DFBD21 #E7CD57 #EFDD8D #F6EDC2

Accessibility & contrast

On white

1.58
#E7CD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#E7CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD57
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD57#FFFFFF#000000##000000
##E7CD571.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94A
Deuteranopia (green-blind)
#E7D15D
Tritanopia (blue-blind)
#F8BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cd57;
/* rgb */ color: rgb(231, 205, 87);
/* oklch */ color: oklch(84.8% 0.139 96.9);
Tailwind
colors: {
  custom: {
    50: '#f2db8b',
    500: '#e7cd57',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd57;
$custom-light: #f2db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd57",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 49.167,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84821,
    "c": 0.13909,
    "h": 96.9
  },
  "luminance": 0.6134
}

Semantic roles & 50–950 ramp

primary
#E7CD57
secondary
#364BAC
accent
#33D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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