#E4D152#E4D152

#E4D152 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.146 H 100.8°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#E4D152
RGBrgb(228, 209, 82)
HSLhsl(52, 73%, 61%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.3%, 64%, 10.6%)
CIE-LABlab(83.29, -8.00, 63.24)
CIE-LCHlch(83.29, 63.75, 97.21°)
OKLaboklab(85.32% -0.0273 0.1434)
OKLCHoklch(85.32% 0.146 100.8)
XYZxyz(56.3207, 62.7065, 17.1179)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D152 #5265E4
analogous
#E48852 #E4D152 #AEE452
triadic
#E4D152 #52E4D1 #D152E4
tetradic
#E4D152 #52E488 #5265E4 #E452AE
square
#E4D152 #52E488 #5265E4 #E452AE
split-complementary
#E4D152 #52AEE4 #8852E4
monochromatic
#A29019 #D7C022 #E4D152 #ECDF87 #F5EDBC

Accessibility & contrast

On white

1.55
#E4D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#E4D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D152
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D152#FFFFFF#000000##000000
##E4D1521.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB42
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#F5C3B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d152;
/* rgb */ color: rgb(228, 209, 82);
/* oklch */ color: oklch(85.3% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#f0de88',
    500: '#e4d152',
    950: '#000000',
  },
}
SCSS
$custom: #e4d152;
$custom-light: #f0de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d152",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 52.192,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8532,
    "c": 0.14601,
    "h": 100.8
  },
  "luminance": 0.62704
}

Semantic roles & 50–950 ramp

primary
#E4D152
secondary
#3544A5
accent
#2AD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D152

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

Preview Lab → · Contrast checker → · Palette generator →

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