#E5CD42#E5CD42

#E5CD42 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.154 H 99.2°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#E5CD42
RGBrgb(229, 205, 66)
HSLhsl(51, 76%, 58%)
HSVhsv(51, 71%, 90%)
CMYKcmyk(0%, 10.5%, 71.2%, 10.2%)
CIE-LABlab(82.23, -6.40, 68.49)
CIE-LCHlch(82.23, 68.78, 95.34°)
OKLaboklab(84.46% -0.0245 0.1519)
OKLCHoklch(84.46% 0.154 99.2)
XYZxyz(55.1304, 60.7167, 13.9688)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD42 #425AE5
analogous
#E57C42 #E5CD42 #ABE542
triadic
#E5CD42 #42E5CD #CD42E5
tetradic
#E5CD42 #42E57C #425AE5 #E542AB
square
#E5CD42 #42E57C #425AE5 #E542AB
split-complementary
#E5CD42 #42ABE5 #7C42E5
monochromatic
#988415 #CEB31C #E5CD42 #ECDB78 #F4E9AE

Accessibility & contrast

On white

1.60
#E5CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#E5CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD42
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD42#FFFFFF#000000##000000
##E5CD421.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82C
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#F7BEB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cd42;
/* rgb */ color: rgb(229, 205, 66);
/* oklch */ color: oklch(84.5% 0.154 99.2);
Tailwind
colors: {
  custom: {
    50: '#f1db7f',
    500: '#e5cd42',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd42;
$custom-light: #f1db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd42",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 51.166,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84462,
    "c": 0.15383,
    "h": 99.2
  },
  "luminance": 0.60714
}

Semantic roles & 50–950 ramp

primary
#E5CD42
secondary
#30409C
accent
#51F235
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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