#E8DF45#E8DF45

#E8DF45 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.167 H 106.0°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#E8DF45
RGBrgb(232, 223, 69)
HSLhsl(57, 78%, 59%)
HSVhsv(57, 70%, 91%)
CMYKcmyk(0%, 3.9%, 70.3%, 9%)
CIE-LABlab(87.17, -14.04, 72.32)
CIE-LCHlch(87.17, 73.67, 100.98°)
OKLaboklab(88.46% -0.046 0.1604)
OKLCHoklch(88.46% 0.167 106)
XYZxyz(60.7430, 70.3630, 16.0108)
Luminance0.7036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF45 #454EE8
analogous
#E88E45 #E8DF45 #A0E845
triadic
#E8DF45 #45E8DF #DF45E8
tetradic
#E8DF45 #45E88E #454EE8 #E845A0
square
#E8DF45 #45E88E #454EE8 #E845A0
split-complementary
#E8DF45 #45A0E8 #8E45E8
monochromatic
#9F9714 #D5CB1A #E8DF45 #EFE87B #F5F2B2

Accessibility & contrast

On white

1.39
#E8DF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#E8DF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF45
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF45#FFFFFF#000000##000000
##E8DF451.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D72B
Deuteranopia (green-blind)
#F6DD50
Tritanopia (blue-blind)
#F9D0C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e8df45;
/* rgb */ color: rgb(232, 223, 69);
/* oklch */ color: oklch(88.5% 0.167 106.0);
Tailwind
colors: {
  custom: {
    50: '#f3e882',
    500: '#e8df45',
    950: '#000000',
  },
}
SCSS
$custom: #e8df45;
$custom-light: #f3e882;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df45",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 69
  },
  "hsl": {
    "h": 56.687,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.88462,
    "c": 0.16686,
    "h": 106
  },
  "luminance": 0.70361
}

Semantic roles & 50–950 ramp

primary
#E8DF45
secondary
#2F36A2
accent
#3EF433
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E8DF45

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

Preview Lab → · Contrast checker → · Palette generator →

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