#E4C852#E4C852

#E4C852 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.5% C 0.139 H 95.8°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#E4C852
RGBrgb(228, 200, 82)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.3%, 64%, 10.6%)
CIE-LABlab(80.97, -3.41, 60.77)
CIE-LCHlch(80.97, 60.86, 93.21°)
OKLaboklab(83.48% -0.0141 0.1382)
OKLCHoklch(83.48% 0.139 95.8)
XYZxyz(54.1746, 58.4144, 16.4026)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C852 #526EE4
analogous
#E47F52 #E4C852 #B7E452
triadic
#E4C852 #52E4C8 #C852E4
tetradic
#E4C852 #52E47F #526EE4 #E452B7
square
#E4C852 #52E47F #526EE4 #E452B7
split-complementary
#E4C852 #52B7E4 #7F52E4
monochromatic
#A28819 #D7B422 #E4C852 #ECD987 #F5EABC

Accessibility & contrast

On white

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

On black

12.68
#E4C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C852
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C852#FFFFFF#000000##000000
##E4C8521.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4c852;
/* rgb */ color: rgb(228, 200, 82);
/* oklch */ color: oklch(83.5% 0.139 95.8);
Tailwind
colors: {
  custom: {
    50: '#f0d888',
    500: '#e4c852',
    950: '#000000',
  },
}
SCSS
$custom: #e4c852;
$custom-light: #f0d888;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c852",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 48.493,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83482,
    "c": 0.13892,
    "h": 95.8
  },
  "luminance": 0.58412
}

Semantic roles & 50–950 ramp

primary
#E4C852
secondary
#354BA5
accent
#36D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C852

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

Preview Lab → · Contrast checker → · Palette generator →

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