#E5CD4E#E5CD4E

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

Color values

HEX#E5CD4E
RGBrgb(229, 205, 78)
HSLhsl(50, 74%, 60%)
HSVhsv(50, 66%, 90%)
CMYKcmyk(0%, 10.5%, 65.9%, 10.2%)
CIE-LABlab(82.31, -5.78, 63.89)
CIE-LCHlch(82.31, 64.15, 95.17°)
OKLaboklab(84.56% -0.0215 0.1442)
OKLCHoklch(84.56% 0.146 98.5)
XYZxyz(55.5221, 60.8733, 16.0314)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD4E #4E66E5
analogous
#E5824E #E5CD4E #B1E54E
triadic
#E5CD4E #4EE5CD #CD4EE5
tetradic
#E5CD4E #4EE582 #4E66E5 #E54EB1
square
#E5CD4E #4EE582 #4E66E5 #E54EB1
split-complementary
#E5CD4E #4EB1E5 #824EE5
monochromatic
#A18B18 #D6B91F #E5CD4E #EDDC83 #F5EBB9

Accessibility & contrast

On white

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

On black

13.17
#E5CD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD4E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD4E#FFFFFF#000000##000000
##E5CD4E1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#E7D055
Tritanopia (blue-blind)
#F6BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cd4e;
/* rgb */ color: rgb(229, 205, 78);
/* oklch */ color: oklch(84.6% 0.146 98.5);
Tailwind
colors: {
  custom: {
    50: '#f1db86',
    500: '#e5cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd4e;
$custom-light: #f1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd4e",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 50.464,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84556,
    "c": 0.14576,
    "h": 98.5
  },
  "luminance": 0.60871
}

Semantic roles & 50–950 ramp

primary
#E5CD4E
secondary
#3445A4
accent
#2FD70F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E5CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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