#E5CF5B#E5CF5B

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

Color values

HEX#E5CF5B
RGBrgb(229, 207, 91)
HSLhsl(50, 73%, 63%)
HSVhsv(50, 60%, 90%)
CMYKcmyk(0%, 9.6%, 60.3%, 10.2%)
CIE-LABlab(82.94, -5.99, 59.03)
CIE-LCHlch(82.94, 59.33, 95.80°)
OKLaboklab(85.09% -0.0206 0.1357)
OKLCHoklch(85.09% 0.137 98.6)
XYZxyz(56.5165, 62.0415, 18.8937)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF5B #5B71E5
analogous
#E58A5B #E5CF5B #B6E55B
triadic
#E5CF5B #5BE5CF #CF5BE5
tetradic
#E5CF5B #5BE58A #5B71E5 #E55BB6
square
#E5CF5B #5BE58A #5B71E5 #E55BB6
split-complementary
#E5CF5B #5BB6E5 #8A5BE5
monochromatic
#AB941B #DDC026 #E5CF5B #EDDE90 #F6EEC5

Accessibility & contrast

On white

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

On black

13.41
#E5CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF5B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF5B#FFFFFF#000000##000000
##E5CF5B1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4E
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#F5C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cf5b;
/* rgb */ color: rgb(229, 207, 91);
/* oklch */ color: oklch(85.1% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#f0dd8e',
    500: '#e5cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf5b;
$custom-light: #f0dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf5b",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 50.435,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85086,
    "c": 0.13727,
    "h": 98.6
  },
  "luminance": 0.62039
}

Semantic roles & 50–950 ramp

primary
#E5CF5B
secondary
#384BAC
accent
#30D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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