#E3C852#E3C852

#E3C852 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.139 H 96.3°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#E3C852
RGBrgb(227, 200, 82)
HSLhsl(49, 72%, 61%)
HSVhsv(49, 64%, 89%)
CMYKcmyk(0%, 11.9%, 63.9%, 11%)
CIE-LABlab(80.88, -3.83, 60.65)
CIE-LCHlch(80.88, 60.77, 93.61°)
OKLaboklab(83.39% -0.0153 0.138)
OKLCHoklch(83.39% 0.139 96.3)
XYZxyz(53.8582, 58.2513, 16.3877)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3C852 #526DE3
analogous
#E38052 #E3C852 #B5E352
triadic
#E3C852 #52E3C8 #C852E3
tetradic
#E3C852 #52E380 #526DE3 #E352B5
square
#E3C852 #52E380 #526DE3 #E352B5
split-complementary
#E3C852 #52B5E3 #8052E3
monochromatic
#A1881A #D5B423 #E3C852 #ECD987 #F4E9BB

Accessibility & contrast

On white

1.66
#E3C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#E3C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3C852
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3C852#FFFFFF#000000##000000
##E3C8521.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#F4BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e3c852;
/* rgb */ color: rgb(227, 200, 82);
/* oklch */ color: oklch(83.4% 0.139 96.3);
Tailwind
colors: {
  custom: {
    50: '#efd888',
    500: '#e3c852',
    950: '#000000',
  },
}
SCSS
$custom: #e3c852;
$custom-light: #efd888;
$custom-dark: #000000;
JSON
{
  "hex": "#e3c852",
  "rgb": {
    "r": 227,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 48.828,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8339,
    "c": 0.13881,
    "h": 96.3
  },
  "luminance": 0.58249
}

Semantic roles & 50–950 ramp

primary
#E3C852
secondary
#364AA3
accent
#36D411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E3C852

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

Preview Lab → · Contrast checker → · Palette generator →

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