#E5D852#E5D852

#E5D852 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.9% C 0.152 H 103.8°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#E5D852
RGBrgb(229, 216, 82)
HSLhsl(55, 74%, 61%)
HSVhsv(55, 64%, 90%)
CMYKcmyk(0%, 5.7%, 64.2%, 10.2%)
CIE-LABlab(85.19, -11.11, 65.28)
CIE-LCHlch(85.19, 66.22, 99.66°)
OKLaboklab(86.85% -0.0362 0.1477)
OKLCHoklch(86.85% 0.152 103.8)
XYZxyz(58.3942, 66.3812, 17.7179)
Luminance0.6638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D852 #525FE5
analogous
#E58E52 #E5D852 #A8E552
triadic
#E5D852 #52E5D8 #D852E5
tetradic
#E5D852 #52E58E #525FE5 #E552A8
square
#E5D852 #52E58E #525FE5 #E552A8
split-complementary
#E5D852 #52A8E5 #8E52E5
monochromatic
#A49819 #D9C921 #E5D852 #EDE487 #F5F0BC

Accessibility & contrast

On white

1.47
#E5D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#E5D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D852
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D852#FFFFFF#000000##000000
##E5D8521.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EFD85A
Tritanopia (blue-blind)
#F5CABC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d852;
/* rgb */ color: rgb(229, 216, 82);
/* oklch */ color: oklch(86.9% 0.152 103.8);
Tailwind
colors: {
  custom: {
    50: '#f1e389',
    500: '#e5d852',
    950: '#000000',
  },
}
SCSS
$custom: #e5d852;
$custom-light: #f1e389;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d852",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 54.694,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86852,
    "c": 0.15209,
    "h": 103.8
  },
  "luminance": 0.66379
}

Semantic roles & 50–950 ramp

primary
#E5D852
secondary
#353FA6
accent
#21D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D852

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

Preview Lab → · Contrast checker → · Palette generator →

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