#E4C652#E4C652

#E4C652 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.1% C 0.137 H 94.7°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#E4C652
RGBrgb(228, 198, 82)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 13.2%, 64%, 10.6%)
CIE-LABlab(80.46, -2.38, 60.22)
CIE-LCHlch(80.46, 60.27, 92.26°)
OKLaboklab(83.08% -0.0112 0.137)
OKLCHoklch(83.08% 0.137 94.7)
XYZxyz(53.7145, 57.4941, 16.2492)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C652 #5270E4
analogous
#E47D52 #E4C652 #B9E452
triadic
#E4C652 #52E4C6 #C652E4
tetradic
#E4C652 #52E47D #5270E4 #E452B9
square
#E4C652 #52E47D #5270E4 #E452B9
split-complementary
#E4C652 #52B9E4 #7D52E4
monochromatic
#A28619 #D7B222 #E4C652 #ECD787 #F5E9BC

Accessibility & contrast

On white

1.68
#E4C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#E4C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C652
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C652#FFFFFF#000000##000000
##E4C6521.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#F5B8AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c652;
/* rgb */ color: rgb(228, 198, 82);
/* oklch */ color: oklch(83.1% 0.137 94.7);
Tailwind
colors: {
  custom: {
    50: '#f0d787',
    500: '#e4c652',
    950: '#000000',
  },
}
SCSS
$custom: #e4c652;
$custom-light: #f0d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c652",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 47.671,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83077,
    "c": 0.13749,
    "h": 94.7
  },
  "luminance": 0.57491
}

Semantic roles & 50–950 ramp

primary
#E4C652
secondary
#354CA5
accent
#39D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C652

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

Preview Lab → · Contrast checker → · Palette generator →

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