#E5E161#E5E161

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

Color values

HEX#E5E161
RGBrgb(229, 225, 97)
HSLhsl(58, 72%, 64%)
HSVhsv(58, 58%, 90%)
CMYKcmyk(0%, 1.7%, 57.6%, 10.2%)
CIE-LABlab(87.67, -14.61, 61.64)
CIE-LCHlch(87.67, 63.35, 103.34°)
OKLaboklab(88.86% -0.0445 0.1421)
OKLCHoklch(88.86% 0.149 107.4)
XYZxyz(61.3979, 71.3733, 21.8491)
Luminance0.7137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E161 #6165E5
analogous
#E59F61 #E5E161 #A7E561
triadic
#E5E161 #61E5E1 #E161E5
tetradic
#E5E161 #61E59F #6165E5 #E561A7
square
#E5E161 #61E59F #6165E5 #E561A7
split-complementary
#E5E161 #61A7E5 #9F61E5
monochromatic
#AFAA1D #DCD72C #E5E161 #EEEB96 #F6F5CA

Accessibility & contrast

On white

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

On black

15.27
#E5E161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E161
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E161#FFFFFF#000000##000000
##E5E1611.001.3715.2715.27
#FFFFFF1.371.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5e161;
/* rgb */ color: rgb(229, 225, 97);
/* oklch */ color: oklch(88.9% 0.149 107.4);
Tailwind
colors: {
  custom: {
    50: '#f0ea92',
    500: '#e5e161',
    950: '#000000',
  },
}
SCSS
$custom: #e5e161;
$custom-light: #f0ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e161",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 97
  },
  "hsl": {
    "h": 58.182,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88862,
    "c": 0.14888,
    "h": 107.4
  },
  "luminance": 0.71372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5E161

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

Preview Lab → · Contrast checker → · Palette generator →

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