#E4CD5C#E4CD5C

#E4CD5C is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.135 H 97.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#E4CD5C
RGBrgb(228, 205, 92)
HSLhsl(50, 72%, 63%)
HSVhsv(50, 60%, 89%)
CMYKcmyk(0%, 10.1%, 59.6%, 10.6%)
CIE-LABlab(82.34, -5.32, 57.90)
CIE-LCHlch(82.34, 58.14, 95.25°)
OKLaboklab(84.6% -0.0185 0.1335)
OKLCHoklch(84.6% 0.135 97.9)
XYZxyz(55.7602, 60.9318, 18.9470)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD5C #5C73E4
analogous
#E4895C #E4CD5C #B7E45C
triadic
#E4CD5C #5CE4CD #CD5CE4
tetradic
#E4CD5C #5CE489 #5C73E4 #E45CB7
square
#E4CD5C #5CE489 #5C73E4 #E45CB7
split-complementary
#E4CD5C #5CB7E4 #895CE4
monochromatic
#AA921C #DBBD27 #E4CD5C #EDDD91 #F5EDC5

Accessibility & contrast

On white

1.59
#E4CD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#E4CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD5C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD5C#FFFFFF#000000##000000
##E4CD5C1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC850
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#F4BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd5c;
/* rgb */ color: rgb(228, 205, 92);
/* oklch */ color: oklch(84.6% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#efdc8e',
    500: '#e4cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd5c;
$custom-light: #efdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd5c",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 49.853,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84598,
    "c": 0.13473,
    "h": 97.9
  },
  "luminance": 0.60929
}

Semantic roles & 50–950 ramp

primary
#E4CD5C
secondary
#394CAB
accent
#33D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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