#E5C852#E5C852

#E5C852 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.139 H 95.4°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#E5C852
RGBrgb(229, 200, 82)
HSLhsl(48, 74%, 61%)
HSVhsv(48, 64%, 90%)
CMYKcmyk(0%, 12.7%, 64.2%, 10.2%)
CIE-LABlab(81.06, -2.99, 60.89)
CIE-LCHlch(81.06, 60.97, 92.81°)
OKLaboklab(83.58% -0.013 0.1384)
OKLCHoklch(83.58% 0.139 95.4)
XYZxyz(54.4929, 58.5785, 16.4175)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C852 #526FE5
analogous
#E57E52 #E5C852 #B8E552
triadic
#E5C852 #52E5C8 #C852E5
tetradic
#E5C852 #52E57E #526FE5 #E552B8
square
#E5C852 #52E57E #526FE5 #E552B8
split-complementary
#E5C852 #52B8E5 #7E52E5
monochromatic
#A48819 #D9B521 #E5C852 #EDD987 #F5EABC

Accessibility & contrast

On white

1.65
#E5C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#E5C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C852
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C852#FFFFFF#000000##000000
##E5C8521.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c852;
/* rgb */ color: rgb(229, 200, 82);
/* oklch */ color: oklch(83.6% 0.139 95.4);
Tailwind
colors: {
  custom: {
    50: '#f1d888',
    500: '#e5c852',
    950: '#000000',
  },
}
SCSS
$custom: #e5c852;
$custom-light: #f1d888;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c852",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 48.163,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83575,
    "c": 0.13905,
    "h": 95.4
  },
  "luminance": 0.58576
}

Semantic roles & 50–950 ramp

primary
#E5C852
secondary
#354BA6
accent
#37D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C852

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

Preview Lab → · Contrast checker → · Palette generator →

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