#E4C752#E4C752

#E4C752 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.138 H 95.3°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#E4C752
RGBrgb(228, 199, 82)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.7%, 64%, 10.6%)
CIE-LABlab(80.71, -2.89, 60.49)
CIE-LCHlch(80.71, 60.56, 92.74°)
OKLaboklab(83.28% -0.0127 0.1376)
OKLCHoklch(83.28% 0.138 95.3)
XYZxyz(53.9438, 57.9527, 16.3256)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C752 #526FE4
analogous
#E47E52 #E4C752 #B8E452
triadic
#E4C752 #52E4C7 #C752E4
tetradic
#E4C752 #52E47E #526FE4 #E452B8
square
#E4C752 #52E47E #526FE4 #E452B8
split-complementary
#E4C752 #52B8E4 #7E52E4
monochromatic
#A28719 #D7B322 #E4C752 #ECD887 #F5E9BC

Accessibility & contrast

On white

1.67
#E4C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#E4C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C752
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C752#FFFFFF#000000##000000
##E4C7521.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E2CC58
Tritanopia (blue-blind)
#F5B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c752;
/* rgb */ color: rgb(228, 199, 82);
/* oklch */ color: oklch(83.3% 0.138 95.3);
Tailwind
colors: {
  custom: {
    50: '#f0d788',
    500: '#e4c752',
    950: '#000000',
  },
}
SCSS
$custom: #e4c752;
$custom-light: #f0d788;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c752",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 48.082,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8328,
    "c": 0.1382,
    "h": 95.3
  },
  "luminance": 0.5795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4C752

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

Preview Lab → · Contrast checker → · Palette generator →

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