#E5D462#E5D462

#E5D462 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.2% C 0.136 H 100.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#E5D462
RGBrgb(229, 212, 98)
HSLhsl(52, 72%, 64%)
HSVhsv(52, 57%, 90%)
CMYKcmyk(0%, 7.4%, 57.2%, 10.2%)
CIE-LABlab(84.29, -8.04, 57.42)
CIE-LCHlch(84.29, 57.98, 97.97°)
OKLaboklab(86.18% -0.0257 0.1332)
OKLCHoklch(86.18% 0.136 100.9)
XYZxyz(58.0633, 64.6291, 20.9691)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D462 #6273E5
analogous
#E59362 #E5D462 #B5E562
triadic
#E5D462 #62E5D4 #D462E5
tetradic
#E5D462 #62E593 #6273E5 #E562B5
square
#E5D462 #62E593 #6273E5 #E562B5
split-complementary
#E5D462 #62B5E5 #9362E5
monochromatic
#B09D1D #DCC62D #E5D462 #EEE297 #F6F1CB

Accessibility & contrast

On white

1.51
#E5D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#E5D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D462
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D462#FFFFFF#000000##000000
##E5D4621.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#F5C7BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e5d462;
/* rgb */ color: rgb(229, 212, 98);
/* oklch */ color: oklch(86.2% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#f0e092',
    500: '#e5d462',
    950: '#000000',
  },
}
SCSS
$custom: #e5d462;
$custom-light: #f0e092;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d462",
  "rgb": {
    "r": 229,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 52.214,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86183,
    "c": 0.1356,
    "h": 100.9
  },
  "luminance": 0.64627
}

Semantic roles & 50–950 ramp

primary
#E5D462
secondary
#3B4AB1
accent
#2BD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D462

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

Preview Lab → · Contrast checker → · Palette generator →

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