#E2C852#E2C852

#E2C852 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.139 H 96.8°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#E2C852
RGBrgb(226, 200, 82)
HSLhsl(49, 71%, 60%)
HSVhsv(49, 64%, 89%)
CMYKcmyk(0%, 11.5%, 63.7%, 11.4%)
CIE-LABlab(80.79, -4.24, 60.52)
CIE-LCHlch(80.79, 60.67, 94.01°)
OKLaboklab(83.3% -0.0164 0.1377)
OKLCHoklch(83.3% 0.139 96.8)
XYZxyz(53.5437, 58.0891, 16.3730)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C852 #526CE2
analogous
#E28052 #E2C852 #B4E252
triadic
#E2C852 #52E2C8 #C852E2
tetradic
#E2C852 #52E280 #526CE2 #E252B4
square
#E2C852 #52E280 #526CE2 #E252B4
split-complementary
#E2C852 #52B4E2 #8052E2
monochromatic
#9F871B #D3B423 #E2C852 #EBD986 #F4E9BB

Accessibility & contrast

On white

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

On black

12.62
#E2C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C852
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C852#FFFFFF#000000##000000
##E2C8521.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c852;
/* rgb */ color: rgb(226, 200, 82);
/* oklch */ color: oklch(83.3% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#eed888',
    500: '#e2c852',
    950: '#000000',
  },
}
SCSS
$custom: #e2c852;
$custom-light: #eed888;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c852",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 49.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83297,
    "c": 0.13871,
    "h": 96.8
  },
  "luminance": 0.58087
}

Semantic roles & 50–950 ramp

primary
#E2C852
secondary
#364AA2
accent
#35D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C852

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

Preview Lab → · Contrast checker → · Palette generator →

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