#E4E152#E4E152

#E4E152 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.6% C 0.161 H 108.1°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E4E152
RGBrgb(228, 225, 82)
HSLhsl(59, 73%, 61%)
HSVhsv(59, 64%, 89%)
CMYKcmyk(0%, 1.3%, 64%, 10.6%)
CIE-LABlab(87.46, -15.99, 67.63)
CIE-LCHlch(87.46, 69.49, 103.30°)
OKLaboklab(88.64% -0.0499 0.1527)
OKLCHoklch(88.64% 0.161 108.1)
XYZxyz(60.4452, 70.9554, 18.4927)
Luminance0.7095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E152 #5255E4
analogous
#E49852 #E4E152 #9EE452
triadic
#E4E152 #52E4E1 #E152E4
tetradic
#E4E152 #52E498 #5255E4 #E4529E
square
#E4E152 #52E498 #5255E4 #E4529E
split-complementary
#E4E152 #529EE4 #9852E4
monochromatic
#A29F19 #D7D322 #E4E152 #ECEA87 #F5F3BC

Accessibility & contrast

On white

1.38
#E4E152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#E4E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E152
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E152#FFFFFF#000000##000000
##E4E1521.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D83F
Deuteranopia (green-blind)
#F5DE5B
Tritanopia (blue-blind)
#F4D3C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e4e152;
/* rgb */ color: rgb(228, 225, 82);
/* oklch */ color: oklch(88.6% 0.161 108.1);
Tailwind
colors: {
  custom: {
    50: '#f0ea89',
    500: '#e4e152',
    950: '#000000',
  },
}
SCSS
$custom: #e4e152;
$custom-light: #f0ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e152",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 58.767,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88642,
    "c": 0.16067,
    "h": 108.1
  },
  "luminance": 0.70954
}

Semantic roles & 50–950 ramp

primary
#E4E152
secondary
#3538A5
accent
#14D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4E152

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

Preview Lab → · Contrast checker → · Palette generator →

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