#E4CE5B#E4CE5B

#E4CE5B is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.8% C 0.136 H 98.5°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E4CE5B
RGBrgb(228, 206, 91)
HSLhsl(50, 72%, 63%)
HSVhsv(50, 60%, 89%)
CMYKcmyk(0%, 9.6%, 60.1%, 10.6%)
CIE-LABlab(82.59, -5.90, 58.62)
CIE-LCHlch(82.59, 58.91, 95.75°)
OKLaboklab(84.79% -0.0203 0.1349)
OKLCHoklch(84.79% 0.136 98.5)
XYZxyz(55.9568, 61.3944, 18.7983)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CE5B #5B71E4
analogous
#E4895B #E4CE5B #B5E45B
triadic
#E4CE5B #5BE4CE #CE5BE4
tetradic
#E4CE5B #5BE489 #5B71E4 #E45BB5
square
#E4CE5B #5BE489 #5B71E4 #E45BB5
split-complementary
#E4CE5B #5BB5E4 #895BE4
monochromatic
#A9921C #DBBE26 #E4CE5B #EDDE90 #F5EDC4

Accessibility & contrast

On white

1.58
#E4CE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#E4CE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CE5B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CE5B#FFFFFF#000000##000000
##E4CE5B1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#F4C0B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4ce5b;
/* rgb */ color: rgb(228, 206, 91);
/* oklch */ color: oklch(84.8% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#efdc8d',
    500: '#e4ce5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4ce5b;
$custom-light: #efdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ce5b",
  "rgb": {
    "r": 228,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 50.365,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84792,
    "c": 0.13638,
    "h": 98.5
  },
  "luminance": 0.61392
}

Semantic roles & 50–950 ramp

primary
#E4CE5B
secondary
#394BAB
accent
#31D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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