#E5E162#E5E162

#E5E162 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.9% C 0.148 H 107.4°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#E5E162
RGBrgb(229, 225, 98)
HSLhsl(58, 72%, 64%)
HSVhsv(58, 57%, 90%)
CMYKcmyk(0%, 1.7%, 57.2%, 10.2%)
CIE-LABlab(87.68, -14.54, 61.22)
CIE-LCHlch(87.68, 62.92, 103.36°)
OKLaboklab(88.87% -0.0442 0.1413)
OKLCHoklch(88.87% 0.148 107.4)
XYZxyz(61.4448, 71.3921, 22.0963)
Luminance0.7139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E162 #6266E5
analogous
#E5A062 #E5E162 #A8E562
triadic
#E5E162 #62E5E1 #E162E5
tetradic
#E5E162 #62E5A0 #6266E5 #E562A8
square
#E5E162 #62E5A0 #6266E5 #E562A8
split-complementary
#E5E162 #62A8E5 #A062E5
monochromatic
#B0AB1D #DCD72D #E5E162 #EEEB97 #F6F5CB

Accessibility & contrast

On white

1.37
#E5E162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#E5E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E162
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E162#FFFFFF#000000##000000
##E5E1621.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#F4D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e162;
/* rgb */ color: rgb(229, 225, 98);
/* oklch */ color: oklch(88.9% 0.148 107.4);
Tailwind
colors: {
  custom: {
    50: '#f0ea93',
    500: '#e5e162',
    950: '#000000',
  },
}
SCSS
$custom: #e5e162;
$custom-light: #f0ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e162",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 58.168,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88872,
    "c": 0.14804,
    "h": 107.4
  },
  "luminance": 0.7139
}

Semantic roles & 50–950 ramp

primary
#E5E162
secondary
#3B3EB1
accent
#18D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E5E162

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

Preview Lab → · Contrast checker → · Palette generator →

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