#E0C852#E0C852

#E0C852 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.139 H 97.8°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#E0C852
RGBrgb(224, 200, 82)
HSLhsl(50, 70%, 60%)
HSVhsv(50, 63%, 88%)
CMYKcmyk(0%, 10.7%, 63.4%, 12.2%)
CIE-LABlab(80.61, -5.08, 60.28)
CIE-LCHlch(80.61, 60.49, 94.82°)
OKLaboklab(83.11% -0.0187 0.1373)
OKLCHoklch(83.11% 0.139 97.8)
XYZxyz(52.9200, 57.7675, 16.3438)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C852 #526AE0
analogous
#E08152 #E0C852 #B1E052
triadic
#E0C852 #52E0C8 #C852E0
tetradic
#E0C852 #52E081 #526AE0 #E052B1
square
#E0C852 #52E081 #526AE0 #E052B1
split-complementary
#E0C852 #52B1E0 #8152E0
monochromatic
#9C861C #D0B325 #E0C852 #E9D886 #F3E9BA

Accessibility & contrast

On white

1.67
#E0C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#E0C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C852
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C852#FFFFFF#000000##000000
##E0C8521.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#F1BAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e0c852;
/* rgb */ color: rgb(224, 200, 82);
/* oklch */ color: oklch(83.1% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#edd888',
    500: '#e0c852',
    950: '#000000',
  },
}
SCSS
$custom: #e0c852;
$custom-light: #edd888;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c852",
  "rgb": {
    "r": 224,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 49.859,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.83113,
    "c": 0.13854,
    "h": 97.8
  },
  "luminance": 0.57765
}

Semantic roles & 50–950 ramp

primary
#E0C852
secondary
#37499F
accent
#59EC3B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C852

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

Preview Lab → · Contrast checker → · Palette generator →

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