#E8D462#E8D462

#E8D462 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.136 H 99.5°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#E8D462
RGBrgb(232, 212, 98)
HSLhsl(51, 74%, 65%)
HSVhsv(51, 58%, 91%)
CMYKcmyk(0%, 8.6%, 57.8%, 9%)
CIE-LABlab(84.55, -6.81, 57.78)
CIE-LCHlch(84.55, 58.18, 96.72°)
OKLaboklab(86.45% -0.0223 0.1339)
OKLCHoklch(86.45% 0.136 99.5)
XYZxyz(59.0290, 65.1270, 21.0144)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D462 #6276E8
analogous
#E89162 #E8D462 #B9E862
triadic
#E8D462 #62E8D4 #D462E8
tetradic
#E8D462 #62E891 #6276E8 #E862B9
square
#E8D462 #62E891 #6276E8 #E862B9
split-complementary
#E8D462 #62B9E8 #9162E8
monochromatic
#B59E1B #E0C52D #E8D462 #F0E397 #F8F1CD

Accessibility & contrast

On white

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

On black

14.03
#E8D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D462
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D462#FFFFFF#000000##000000
##E8D4621.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#ECD668
Tritanopia (blue-blind)
#F8C6BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d462;
/* rgb */ color: rgb(232, 212, 98);
/* oklch */ color: oklch(86.4% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#f2e092',
    500: '#e8d462',
    950: '#000000',
  },
}
SCSS
$custom: #e8d462;
$custom-light: #f2e092;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d462",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 51.045,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86448,
    "c": 0.13571,
    "h": 99.5
  },
  "luminance": 0.65125
}

Semantic roles & 50–950 ramp

primary
#E8D462
secondary
#394CB5
accent
#2DD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D462

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

Preview Lab → · Contrast checker → · Palette generator →

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