#E5CF57#E5CF57

#E5CF57 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.141 H 98.9°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#E5CF57
RGBrgb(229, 207, 87)
HSLhsl(51, 73%, 62%)
HSVhsv(51, 62%, 90%)
CMYKcmyk(0%, 9.6%, 62%, 10.2%)
CIE-LABlab(82.90, -6.26, 60.73)
CIE-LCHlch(82.90, 61.05, 95.88°)
OKLaboklab(85.05% -0.0218 0.1388)
OKLCHoklch(85.05% 0.141 98.9)
XYZxyz(56.3486, 61.9743, 18.0091)
Luminance0.6197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF57 #576DE5
analogous
#E58857 #E5CF57 #B4E557
triadic
#E5CF57 #57E5CF #CF57E5
tetradic
#E5CF57 #57E588 #576DE5 #E557B4
square
#E5CF57 #57E588 #576DE5 #E557B4
split-complementary
#E5CF57 #57B4E5 #8857E5
monochromatic
#A8921A #DDC022 #E5CF57 #EDDE8C #F5EDC1

Accessibility & contrast

On white

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

On black

13.39
#E5CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF57
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF57#FFFFFF#000000##000000
##E5CF571.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA49
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#F6C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cf57;
/* rgb */ color: rgb(229, 207, 87);
/* oklch */ color: oklch(85.0% 0.141 98.9);
Tailwind
colors: {
  custom: {
    50: '#f0dd8b',
    500: '#e5cf57',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf57;
$custom-light: #f0dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf57",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 50.704,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85046,
    "c": 0.14051,
    "h": 98.9
  },
  "luminance": 0.61972
}

Semantic roles & 50–950 ramp

primary
#E5CF57
secondary
#3748AA
accent
#2FD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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