#E8E452#E8E452

#E8E452 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.6% C 0.163 H 107.8°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#E8E452
RGBrgb(232, 228, 82)
HSLhsl(58, 77%, 62%)
HSVhsv(58, 65%, 91%)
CMYKcmyk(0%, 1.7%, 64.7%, 9%)
CIE-LABlab(88.57, -15.82, 68.87)
CIE-LCHlch(88.57, 70.67, 102.94°)
OKLaboklab(89.6% -0.0497 0.1552)
OKLCHoklch(89.6% 0.163 107.8)
XYZxyz(62.5473, 73.2538, 18.8256)
Luminance0.7325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E452 #5256E8
analogous
#E89952 #E8E452 #A1E852
triadic
#E8E452 #52E8E4 #E452E8
tetradic
#E8E452 #52E899 #5256E8 #E852A1
square
#E8E452 #52E899 #5256E8 #E852A1
split-complementary
#E8E452 #52A1E8 #9952E8
monochromatic
#A9A516 #DFDA1E #E8E452 #EFEC88 #F6F5BE

Accessibility & contrast

On white

1.34
#E8E452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#E8E452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E452
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E452#FFFFFF#000000##000000
##E8E4521.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F9E15B
Tritanopia (blue-blind)
#F8D6C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e8e452;
/* rgb */ color: rgb(232, 228, 82);
/* oklch */ color: oklch(89.6% 0.163 107.8);
Tailwind
colors: {
  custom: {
    50: '#f3ec8a',
    500: '#e8e452',
    950: '#000000',
  },
}
SCSS
$custom: #e8e452;
$custom-light: #f3ec8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e452",
  "rgb": {
    "r": 232,
    "g": 228,
    "b": 82
  },
  "hsl": {
    "h": 58.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89601,
    "c": 0.16299,
    "h": 107.8
  },
  "luminance": 0.73252
}

Semantic roles & 50–950 ramp

primary
#E8E452
secondary
#3437AB
accent
#12D90D
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E452

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

Preview Lab → · Contrast checker → · Palette generator →

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