#E5CE42#E5CE42

#E5CE42 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.7% C 0.155 H 99.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E5CE42
RGBrgb(229, 206, 66)
HSLhsl(52, 76%, 58%)
HSVhsv(52, 71%, 90%)
CMYKcmyk(0%, 10%, 71.2%, 10.2%)
CIE-LABlab(82.48, -6.91, 68.74)
CIE-LCHlch(82.48, 69.08, 95.74°)
OKLaboklab(84.67% -0.026 0.1524)
OKLCHoklch(84.67% 0.155 99.7)
XYZxyz(55.3704, 61.1966, 14.0488)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CE42 #4259E5
analogous
#E57D42 #E5CE42 #AAE542
triadic
#E5CE42 #42E5CE #CE42E5
tetradic
#E5CE42 #42E57D #4259E5 #E542AA
square
#E5CE42 #42E57D #4259E5 #E542AA
split-complementary
#E5CE42 #42AAE5 #7D42E5
monochromatic
#988515 #CEB51C #E5CE42 #ECDC78 #F4EAAE

Accessibility & contrast

On white

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

On black

13.24
#E5CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CE42
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CE42#FFFFFF#000000##000000
##E5CE421.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C82B
Deuteranopia (green-blind)
#E8D14B
Tritanopia (blue-blind)
#F7BFB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5ce42;
/* rgb */ color: rgb(229, 206, 66);
/* oklch */ color: oklch(84.7% 0.155 99.7);
Tailwind
colors: {
  custom: {
    50: '#f1dc7f',
    500: '#e5ce42',
    950: '#000000',
  },
}
SCSS
$custom: #e5ce42;
$custom-light: #f1dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ce42",
  "rgb": {
    "r": 229,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 51.534,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84667,
    "c": 0.1546,
    "h": 99.7
  },
  "luminance": 0.61194
}

Semantic roles & 50–950 ramp

primary
#E5CE42
secondary
#303F9C
accent
#50F235
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E5CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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