#E0C052#E0C052

#E0C052 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.133 H 93.0°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#E0C052
RGBrgb(224, 192, 82)
HSLhsl(46, 70%, 60%)
HSVhsv(46, 63%, 88%)
CMYKcmyk(0%, 14.3%, 63.4%, 12.2%)
CIE-LABlab(78.55, -0.95, 58.05)
CIE-LCHlch(78.55, 58.06, 90.94°)
OKLaboklab(81.49% -0.0068 0.1325)
OKLCHoklch(81.49% 0.133 93)
XYZxyz(51.1155, 54.1585, 15.7423)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C052 #5272E0
analogous
#E07952 #E0C052 #B9E052
triadic
#E0C052 #52E0C0 #C052E0
tetradic
#E0C052 #52E079 #5272E0 #E052B9
square
#E0C052 #52E079 #5272E0 #E052B9
split-complementary
#E0C052 #52B9E0 #7952E0
monochromatic
#9C7F1C #D0A925 #E0C052 #E9D386 #F3E6BA

Accessibility & contrast

On white

1.77
#E0C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#E0C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C052
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C052#FFFFFF#000000##000000
##E0C0521.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD46
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#F1B2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e0c052;
/* rgb */ color: rgb(224, 192, 82);
/* oklch */ color: oklch(81.5% 0.133 93.0);
Tailwind
colors: {
  custom: {
    50: '#edd287',
    500: '#e0c052',
    950: '#000000',
  },
}
SCSS
$custom: #e0c052;
$custom-light: #edd287;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c052",
  "rgb": {
    "r": 224,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 46.479,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.81488,
    "c": 0.13272,
    "h": 93
  },
  "luminance": 0.54156
}

Semantic roles & 50–950 ramp

primary
#E0C052
secondary
#374E9F
accent
#63EC3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C052

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

Preview Lab → · Contrast checker → · Palette generator →

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