#E5CF62#E5CF62

#E5CF62 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.131 H 98.0°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#E5CF62
RGBrgb(229, 207, 98)
HSLhsl(50, 72%, 64%)
HSVhsv(50, 57%, 90%)
CMYKcmyk(0%, 9.6%, 57.2%, 10.2%)
CIE-LABlab(83.00, -5.50, 55.96)
CIE-LCHlch(83.00, 56.23, 95.62°)
OKLaboklab(85.16% -0.0184 0.13)
OKLCHoklch(85.16% 0.131 98)
XYZxyz(56.8327, 62.1679, 20.5589)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF62 #6278E5
analogous
#E58E62 #E5CF62 #BAE562
triadic
#E5CF62 #62E5CF #CF62E5
tetradic
#E5CF62 #62E58E #6278E5 #E562BA
square
#E5CF62 #62E58E #6278E5 #E562BA
split-complementary
#E5CF62 #62BAE5 #8E62E5
monochromatic
#B0971D #DCBF2D #E5CF62 #EEDF97 #F6EFCB

Accessibility & contrast

On white

1.56
#E5CF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#E5CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF62
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF62#FFFFFF#000000##000000
##E5CF621.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA57
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#F5C2B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5cf62;
/* rgb */ color: rgb(229, 207, 98);
/* oklch */ color: oklch(85.2% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#f0dd92',
    500: '#e5cf62',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf62;
$custom-light: #f0dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf62",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 49.924,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85161,
    "c": 0.1313,
    "h": 98
  },
  "luminance": 0.62166
}

Semantic roles & 50–950 ramp

primary
#E5CF62
secondary
#3B4EB1
accent
#32D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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