#E5CF59#E5CF59

#E5CF59 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.1% C 0.139 H 98.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#E5CF59
RGBrgb(229, 207, 89)
HSLhsl(51, 73%, 62%)
HSVhsv(51, 61%, 90%)
CMYKcmyk(0%, 9.6%, 61.1%, 10.2%)
CIE-LABlab(82.92, -6.13, 59.88)
CIE-LCHlch(82.92, 60.20, 95.84°)
OKLaboklab(85.07% -0.0212 0.1373)
OKLCHoklch(85.07% 0.139 98.8)
XYZxyz(56.4314, 62.0074, 18.4454)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF59 #596FE5
analogous
#E58959 #E5CF59 #B5E559
triadic
#E5CF59 #59E5CF #CF59E5
tetradic
#E5CF59 #59E589 #596FE5 #E559B5
square
#E5CF59 #59E589 #596FE5 #E559B5
split-complementary
#E5CF59 #59B5E5 #8959E5
monochromatic
#A9931A #DDC024 #E5CF59 #EDDE8E #F6EEC3

Accessibility & contrast

On white

1.57
#E5CF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#E5CF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF59
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF59#FFFFFF#000000##000000
##E5CF591.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4C
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#F6C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cf59;
/* rgb */ color: rgb(229, 207, 89);
/* oklch */ color: oklch(85.1% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#f0dd8c',
    500: '#e5cf59',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf59;
$custom-light: #f0dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf59",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 50.571,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85066,
    "c": 0.13891,
    "h": 98.8
  },
  "luminance": 0.62005
}

Semantic roles & 50–950 ramp

primary
#E5CF59
secondary
#374AAB
accent
#2FD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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