#E7CD59#E7CD59

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

Color values

HEX#E7CD59
RGBrgb(231, 205, 89)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 11.3%, 61.5%, 9.4%)
CIE-LABlab(82.58, -4.28, 59.56)
CIE-LCHlch(82.58, 59.72, 94.11°)
OKLaboklab(84.84% -0.016 0.1366)
OKLCHoklch(84.84% 0.137 96.7)
XYZxyz(56.5919, 61.3755, 18.3150)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD59 #5973E7
analogous
#E78659 #E7CD59 #BAE759
triadic
#E7CD59 #59E7CD #CD59E7
tetradic
#E7CD59 #59E786 #5973E7 #E759BA
square
#E7CD59 #59E786 #5973E7 #E759BA
split-complementary
#E7CD59 #59BAE7 #8659E7
monochromatic
#AD9219 #DFBD24 #E7CD59 #EFDD8E #F6EDC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CD59#FFFFFF#000000##000000
##E7CD591.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)
#E0C94C
Deuteranopia (green-blind)
#E7D15F
Tritanopia (blue-blind)
#F8BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cd59;
/* rgb */ color: rgb(231, 205, 89);
/* oklch */ color: oklch(84.8% 0.137 96.7);
Tailwind
colors: {
  custom: {
    50: '#f2db8c',
    500: '#e7cd59',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd59;
$custom-light: #f2db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd59",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 49.014,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84841,
    "c": 0.13749,
    "h": 96.7
  },
  "luminance": 0.61373
}

Semantic roles & 50–950 ramp

primary
#E7CD59
secondary
#364CAE
accent
#33D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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