#E0C452#E0C452

#E0C452 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.136 H 95.4°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#E0C452
RGBrgb(224, 196, 82)
HSLhsl(48, 70%, 60%)
HSVhsv(48, 63%, 88%)
CMYKcmyk(0%, 12.5%, 63.4%, 12.2%)
CIE-LABlab(79.58, -3.02, 59.17)
CIE-LCHlch(79.58, 59.24, 92.93°)
OKLaboklab(82.3% -0.0128 0.1349)
OKLCHoklch(82.3% 0.136 95.4)
XYZxyz(52.0057, 55.9389, 16.0390)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C452 #526EE0
analogous
#E07D52 #E0C452 #B5E052
triadic
#E0C452 #52E0C4 #C452E0
tetradic
#E0C452 #52E07D #526EE0 #E052B5
square
#E0C452 #52E07D #526EE0 #E052B5
split-complementary
#E0C452 #52B5E0 #7D52E0
monochromatic
#9C831C #D0AE25 #E0C452 #E9D686 #F3E7BA

Accessibility & contrast

On white

1.72
#E0C452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#E0C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C452
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C452#FFFFFF#000000##000000
##E0C4521.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#F1B6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e0c452;
/* rgb */ color: rgb(224, 196, 82);
/* oklch */ color: oklch(82.3% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#edd587',
    500: '#e0c452',
    950: '#000000',
  },
}
SCSS
$custom: #e0c452;
$custom-light: #edd587;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c452",
  "rgb": {
    "r": 224,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 48.169,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.82298,
    "c": 0.13552,
    "h": 95.4
  },
  "luminance": 0.55936
}

Semantic roles & 50–950 ramp

primary
#E0C452
secondary
#374B9F
accent
#5EEC3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C452

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

Preview Lab → · Contrast checker → · Palette generator →

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