#E5D162#E5D162

#E5D162 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.133 H 99.2°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#E5D162
RGBrgb(229, 209, 98)
HSLhsl(51, 72%, 64%)
HSVhsv(51, 57%, 90%)
CMYKcmyk(0%, 8.7%, 57.2%, 10.2%)
CIE-LABlab(83.52, -6.52, 56.54)
CIE-LCHlch(83.52, 56.92, 96.58°)
OKLaboklab(85.57% -0.0213 0.1313)
OKLCHoklch(85.57% 0.133 99.2)
XYZxyz(57.3203, 63.1431, 20.7214)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D162 #6276E5
analogous
#E59062 #E5D162 #B8E562
triadic
#E5D162 #62E5D1 #D162E5
tetradic
#E5D162 #62E590 #6276E5 #E562B8
square
#E5D162 #62E590 #6276E5 #E562B8
split-complementary
#E5D162 #62B8E5 #9062E5
monochromatic
#B0991D #DCC22D #E5D162 #EEE097 #F6F0CB

Accessibility & contrast

On white

1.54
#E5D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#E5D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D162
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D162#FFFFFF#000000##000000
##E5D1621.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F5C4B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5d162;
/* rgb */ color: rgb(229, 209, 98);
/* oklch */ color: oklch(85.6% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#f0de92',
    500: '#e5d162',
    950: '#000000',
  },
}
SCSS
$custom: #e5d162;
$custom-light: #f0de92;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d162",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 50.84,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85569,
    "c": 0.13299,
    "h": 99.2
  },
  "luminance": 0.63141
}

Semantic roles & 50–950 ramp

primary
#E5D162
secondary
#3B4DB1
accent
#2FD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D162

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

Preview Lab → · Contrast checker → · Palette generator →

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