#E4CB5B#E4CB5B

#E4CB5B is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.2% C 0.134 H 96.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#E4CB5B
RGBrgb(228, 203, 91)
HSLhsl(49, 72%, 63%)
HSVhsv(49, 60%, 89%)
CMYKcmyk(0%, 11%, 60.1%, 10.6%)
CIE-LABlab(81.82, -4.37, 57.76)
CIE-LCHlch(81.82, 57.92, 94.32°)
OKLaboklab(84.18% -0.0159 0.133)
OKLCHoklch(84.18% 0.134 96.8)
XYZxyz(55.2415, 59.9637, 18.5599)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CB5B #5B74E4
analogous
#E4865B #E4CB5B #B9E45B
triadic
#E4CB5B #5BE4CB #CB5BE4
tetradic
#E4CB5B #5BE486 #5B74E4 #E45BB9
square
#E4CB5B #5BE486 #5B74E4 #E45BB9
split-complementary
#E4CB5B #5BB9E4 #865BE4
monochromatic
#A98F1C #DBBA26 #E4CB5B #EDDC90 #F5ECC4

Accessibility & contrast

On white

1.62
#E4CB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#E4CB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CB5B
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CB5B#FFFFFF#000000##000000
##E4CB5B1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74F
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#F5BDB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4cb5b;
/* rgb */ color: rgb(228, 203, 91);
/* oklch */ color: oklch(84.2% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#f0da8d',
    500: '#e4cb5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4cb5b;
$custom-light: #f0da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cb5b",
  "rgb": {
    "r": 228,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 49.051,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84181,
    "c": 0.13398,
    "h": 96.8
  },
  "luminance": 0.59961
}

Semantic roles & 50–950 ramp

primary
#E4CB5B
secondary
#394DAB
accent
#35D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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