#E4CB5F#E4CB5F

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

Color values

HEX#E4CB5F
RGBrgb(228, 203, 95)
HSLhsl(49, 71%, 63%)
HSVhsv(49, 58%, 89%)
CMYKcmyk(0%, 11%, 58.3%, 10.6%)
CIE-LABlab(81.86, -4.09, 56.00)
CIE-LCHlch(81.86, 56.15, 94.17°)
OKLaboklab(84.22% -0.0146 0.1298)
OKLCHoklch(84.22% 0.131 96.4)
XYZxyz(55.4186, 60.0346, 19.4930)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CB5F #5F78E4
analogous
#E4885F #E4CB5F #BAE45F
triadic
#E4CB5F #5FE4CB #CB5FE4
tetradic
#E4CB5F #5FE488 #5F78E4 #E45FBA
square
#E4CB5F #5FE488 #5F78E4 #E45FBA
split-complementary
#E4CB5F #5FBAE4 #885FE4
monochromatic
#AC911D #DBBA2B #E4CB5F #EDDC93 #F6EDC8

Accessibility & contrast

On white

1.61
#E4CB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#E4CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CB5F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CB5F#FFFFFF#000000##000000
##E4CB5F1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E4CF64
Tritanopia (blue-blind)
#F4BEB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4cb5f;
/* rgb */ color: rgb(228, 203, 95);
/* oklch */ color: oklch(84.2% 0.131 96.4);
Tailwind
colors: {
  custom: {
    50: '#efda90',
    500: '#e4cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4cb5f;
$custom-light: #efda90;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cb5f",
  "rgb": {
    "r": 228,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 48.722,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84223,
    "c": 0.13059,
    "h": 96.4
  },
  "luminance": 0.60032
}

Semantic roles & 50–950 ramp

primary
#E4CB5F
secondary
#3A50AD
accent
#37D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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