#E4D161#E4D161

#E4D161 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.134 H 99.8°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#E4D161
RGBrgb(228, 209, 97)
HSLhsl(51, 71%, 64%)
HSVhsv(51, 57%, 89%)
CMYKcmyk(0%, 8.3%, 57.5%, 10.6%)
CIE-LABlab(83.42, -7.00, 56.86)
CIE-LCHlch(83.42, 57.29, 97.02°)
OKLaboklab(85.47% -0.0227 0.1319)
OKLCHoklch(85.47% 0.134 99.8)
XYZxyz(56.9551, 62.9603, 20.4594)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D161 #6174E4
analogous
#E48F61 #E4D161 #B5E461
triadic
#E4D161 #61E4D1 #D161E4
tetradic
#E4D161 #61E48F #6174E4 #E461B5
square
#E4D161 #61E48F #6174E4 #E461B5
split-complementary
#E4D161 #61B5E4 #8F61E4
monochromatic
#AD981E #DBC22D #E4D161 #EDE095 #F6EFCA

Accessibility & contrast

On white

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

On black

13.59
#E4D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D161
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D161#FFFFFF#000000##000000
##E4D1611.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4d161;
/* rgb */ color: rgb(228, 209, 97);
/* oklch */ color: oklch(85.5% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#efde91',
    500: '#e4d161',
    950: '#000000',
  },
}
SCSS
$custom: #e4d161;
$custom-light: #efde91;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d161",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 51.298,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85469,
    "c": 0.13381,
    "h": 99.8
  },
  "luminance": 0.62958
}

Semantic roles & 50–950 ramp

primary
#E4D161
secondary
#3B4CAE
accent
#2FD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D161

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

Preview Lab → · Contrast checker → · Palette generator →

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