#E2D852#E2D852

#E2D852 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.152 H 105.0°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#E2D852
RGBrgb(226, 216, 82)
HSLhsl(56, 71%, 60%)
HSVhsv(56, 64%, 89%)
CMYKcmyk(0%, 4.4%, 63.7%, 11.4%)
CIE-LABlab(84.94, -12.35, 64.94)
CIE-LCHlch(84.94, 66.10, 100.77°)
OKLaboklab(86.59% -0.0395 0.1471)
OKLCHoklch(86.59% 0.152 105)
XYZxyz(57.4450, 65.8917, 17.6734)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D852 #525CE2
analogous
#E29052 #E2D852 #A4E252
triadic
#E2D852 #52E2D8 #D852E2
tetradic
#E2D852 #52E290 #525CE2 #E252A4
square
#E2D852 #52E290 #525CE2 #E252A4
split-complementary
#E2D852 #52A4E2 #9052E2
monochromatic
#9F961B #D3C723 #E2D852 #EBE486 #F4F0BB

Accessibility & contrast

On white

1.48
#E2D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#E2D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D852
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D852#FFFFFF#000000##000000
##E2D8521.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#F2CABC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d852;
/* rgb */ color: rgb(226, 216, 82);
/* oklch */ color: oklch(86.6% 0.152 105.0);
Tailwind
colors: {
  custom: {
    50: '#eee389',
    500: '#e2d852',
    950: '#000000',
  },
}
SCSS
$custom: #e2d852;
$custom-light: #eee389;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d852",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 55.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86593,
    "c": 0.1523,
    "h": 105
  },
  "luminance": 0.6589
}

Semantic roles & 50–950 ramp

primary
#E2D852
secondary
#363EA2
accent
#20D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D852

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

Preview Lab → · Contrast checker → · Palette generator →

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