#E5CF58#E5CF58

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

Color values

HEX#E5CF58
RGBrgb(229, 207, 88)
HSLhsl(51, 73%, 62%)
HSVhsv(51, 62%, 90%)
CMYKcmyk(0%, 9.6%, 61.6%, 10.2%)
CIE-LABlab(82.91, -6.19, 60.31)
CIE-LCHlch(82.91, 60.63, 95.86°)
OKLaboklab(85.06% -0.0215 0.1381)
OKLCHoklch(85.06% 0.14 98.9)
XYZxyz(56.3897, 61.9907, 18.2258)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF58 #586EE5
analogous
#E58858 #E5CF58 #B5E558
triadic
#E5CF58 #58E5CF #CF58E5
tetradic
#E5CF58 #58E588 #586EE5 #E558B5
square
#E5CF58 #58E588 #586EE5 #E558B5
split-complementary
#E5CF58 #58B5E5 #8858E5
monochromatic
#A8921A #DDC023 #E5CF58 #EDDE8D #F5EDC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CF58#FFFFFF#000000##000000
##E5CF581.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)
#E1CA4B
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#F6C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cf58;
/* rgb */ color: rgb(229, 207, 88);
/* oklch */ color: oklch(85.1% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#f0dd8c',
    500: '#e5cf58',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf58;
$custom-light: #f0dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf58",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 50.638,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85056,
    "c": 0.13972,
    "h": 98.9
  },
  "luminance": 0.61988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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