#E8D52F#E8D52F

#E8D52F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.170 H 102.3°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#E8D52F
RGBrgb(232, 213, 47)
HSLhsl(54, 80%, 55%)
HSVhsv(54, 80%, 91%)
CMYKcmyk(0%, 8.2%, 79.7%, 9%)
CIE-LABlab(84.46, -9.92, 76.81)
CIE-LCHlch(84.46, 77.44, 97.36°)
OKLaboklab(86.27% -0.0363 0.166)
OKLCHoklch(86.27% 0.17 102.3)
XYZxyz(57.5888, 64.9522, 12.1924)
Luminance0.6495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D52F #2F42E8
analogous
#E8792F #E8D52F #9EE82F
triadic
#E8D52F #2FE8D5 #D52FE8
tetradic
#E8D52F #2FE879 #2F42E8 #E82F9E
square
#E8D52F #2FE879 #2F42E8 #E82F9E
split-complementary
#E8D52F #2F9EE8 #792FE8
monochromatic
#8D8010 #C4B216 #E8D52F #EEE066 #F4EB9D

Accessibility & contrast

On white

1.50
#E8D52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#E8D52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D52F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D52F#FFFFFF#000000##000000
##E8D52F1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#EFD63D
Tritanopia (blue-blind)
#FAC5B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d52f;
/* rgb */ color: rgb(232, 213, 47);
/* oklch */ color: oklch(86.3% 0.170 102.3);
Tailwind
colors: {
  custom: {
    50: '#f4e177',
    500: '#e8d52f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d52f;
$custom-light: #f4e177;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d52f",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 47
  },
  "hsl": {
    "h": 53.838,
    "s": 80.087,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86265,
    "c": 0.16989,
    "h": 102.3
  },
  "luminance": 0.6495
}

Semantic roles & 50–950 ramp

primary
#E8D52F
secondary
#293492
accent
#46F731
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D

Preview Lab

Preview with #E8D52F

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

Preview Lab → · Contrast checker → · Palette generator →

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