#E4CE5C#E4CE5C

#E4CE5C 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#E4CE5C
RGBrgb(228, 206, 92)
HSLhsl(50, 72%, 63%)
HSVhsv(50, 60%, 89%)
CMYKcmyk(0%, 9.6%, 59.6%, 10.6%)
CIE-LABlab(82.60, -5.83, 58.18)
CIE-LCHlch(82.60, 58.48, 95.72°)
OKLaboklab(84.8% -0.0199 0.1341)
OKLCHoklch(84.8% 0.136 98.5)
XYZxyz(56.0002, 61.4117, 19.0270)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CE5C #5C72E4
analogous
#E48A5C #E4CE5C #B6E45C
triadic
#E4CE5C #5CE4CE #CE5CE4
tetradic
#E4CE5C #5CE48A #5C72E4 #E45CB6
square
#E4CE5C #5CE48A #5C72E4 #E45CB6
split-complementary
#E4CE5C #5CB6E4 #8A5CE4
monochromatic
#AA931C #DBBE27 #E4CE5C #EDDE91 #F5EEC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CE5C#FFFFFF#000000##000000
##E4CE5C1.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)
#E0C950
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#F4C0B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4ce5c;
/* rgb */ color: rgb(228, 206, 92);
/* oklch */ color: oklch(84.8% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#efdc8e',
    500: '#e4ce5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4ce5c;
$custom-light: #efdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ce5c",
  "rgb": {
    "r": 228,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 50.294,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84802,
    "c": 0.13556,
    "h": 98.5
  },
  "luminance": 0.61409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4CE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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