#E2D161#E2D161

#E2D161 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.3% C 0.134 H 100.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#E2D161
RGBrgb(226, 209, 97)
HSLhsl(52, 69%, 63%)
HSVhsv(52, 57%, 89%)
CMYKcmyk(0%, 7.5%, 57.1%, 11.4%)
CIE-LABlab(83.25, -7.83, 56.62)
CIE-LCHlch(83.25, 57.16, 97.87°)
OKLaboklab(85.29% -0.025 0.1314)
OKLCHoklch(85.29% 0.134 100.8)
XYZxyz(56.3242, 62.6349, 20.4298)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D161 #6172E2
analogous
#E29061 #E2D161 #B2E261
triadic
#E2D161 #61E2D1 #D161E2
tetradic
#E2D161 #61E290 #6172E2 #E261B2
square
#E2D161 #61E290 #6172E2 #E261B2
split-complementary
#E2D161 #61B2E2 #9061E2
monochromatic
#A9971F #D9C22D #E2D161 #EBE095 #F5EFC8

Accessibility & contrast

On white

1.55
#E2D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#E2D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D161
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D161#FFFFFF#000000##000000
##E2D1611.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB56
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#F2C4B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d161;
/* rgb */ color: rgb(226, 209, 97);
/* oklch */ color: oklch(85.3% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#eede91',
    500: '#e2d161',
    950: '#000000',
  },
}
SCSS
$custom: #e2d161;
$custom-light: #eede91;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d161",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 52.093,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85292,
    "c": 0.13375,
    "h": 100.8
  },
  "luminance": 0.62633
}

Semantic roles & 50–950 ramp

primary
#E2D161
secondary
#3C4AAB
accent
#2DD115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D161

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

Preview Lab → · Contrast checker → · Palette generator →

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