#E4CB5A#E4CB5A

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

Color values

HEX#E4CB5A
RGBrgb(228, 203, 90)
HSLhsl(49, 72%, 62%)
HSVhsv(49, 61%, 89%)
CMYKcmyk(0%, 11%, 60.5%, 10.6%)
CIE-LABlab(81.81, -4.43, 58.20)
CIE-LCHlch(81.81, 58.36, 94.36°)
OKLaboklab(84.17% -0.0162 0.1338)
OKLCHoklch(84.17% 0.135 96.9)
XYZxyz(55.1986, 59.9466, 18.3342)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CB5A #5A73E4
analogous
#E4865A #E4CB5A #B8E45A
triadic
#E4CB5A #5AE4CB #CB5AE4
tetradic
#E4CB5A #5AE486 #5A73E4 #E45AB8
square
#E4CB5A #5AE486 #5A73E4 #E45AB8
split-complementary
#E4CB5A #5AB8E4 #865AE4
monochromatic
#A88F1C #DBBA25 #E4CB5A #EDDC8F #F5ECC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CB5A#FFFFFF#000000##000000
##E4CB5A1.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)
#DDC74E
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#F5BDB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4cb5a;
/* rgb */ color: rgb(228, 203, 90);
/* oklch */ color: oklch(84.2% 0.135 96.9);
Tailwind
colors: {
  custom: {
    50: '#f0da8d',
    500: '#e4cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4cb5a;
$custom-light: #f0da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cb5a",
  "rgb": {
    "r": 228,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 49.13,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8417,
    "c": 0.13481,
    "h": 96.9
  },
  "luminance": 0.59944
}

Semantic roles & 50–950 ramp

primary
#E4CB5A
secondary
#384DAA
accent
#35D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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