#E5D161#E5D161

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

Color values

HEX#E5D161
RGBrgb(229, 209, 97)
HSLhsl(51, 72%, 64%)
HSVhsv(51, 58%, 90%)
CMYKcmyk(0%, 8.7%, 57.6%, 10.2%)
CIE-LABlab(83.51, -6.59, 56.98)
CIE-LCHlch(83.51, 57.36, 96.60°)
OKLaboklab(85.56% -0.0216 0.1321)
OKLCHoklch(85.56% 0.134 99.3)
XYZxyz(57.2734, 63.1244, 20.4743)
Luminance0.6312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D161 #6175E5
analogous
#E58F61 #E5D161 #B7E561
triadic
#E5D161 #61E5D1 #D161E5
tetradic
#E5D161 #61E58F #6175E5 #E561B7
square
#E5D161 #61E58F #6175E5 #E561B7
split-complementary
#E5D161 #61B7E5 #8F61E5
monochromatic
#AF991D #DCC22C #E5D161 #EEE096 #F6F0CA

Accessibility & contrast

On white

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

On black

13.62
#E5D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D161
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D161#FFFFFF#000000##000000
##E5D1611.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5d161;
/* rgb */ color: rgb(229, 209, 97);
/* oklch */ color: oklch(85.6% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#f0de91',
    500: '#e5d161',
    950: '#000000',
  },
}
SCSS
$custom: #e5d161;
$custom-light: #f0de91;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d161",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 50.909,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85558,
    "c": 0.13386,
    "h": 99.3
  },
  "luminance": 0.63122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5D161

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

Preview Lab → · Contrast checker → · Palette generator →

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