#D4E161#D4E161

#D4E161 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.152 H 114.4°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#D4E161
RGBrgb(212, 225, 97)
HSLhsl(66, 68%, 63%)
HSVhsv(66, 57%, 88%)
CMYKcmyk(5.8%, 0%, 56.9%, 11.8%)
CIE-LABlab(86.36, -21.46, 59.83)
CIE-LCHlch(86.36, 63.56, 109.73°)
OKLaboklab(87.5% -0.0629 0.1385)
OKLCHoklch(87.5% 0.152 114.4)
XYZxyz(56.2354, 68.7114, 21.6071)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E161 #6E61E1
analogous
#E1AE61 #D4E161 #94E161
triadic
#D4E161 #61D4E1 #E161D4
tetradic
#D4E161 #61E1AE #6E61E1 #E16194
square
#D4E161 #61E1AE #6E61E1 #E16194
split-complementary
#D4E161 #6194E1 #AE61E1
monochromatic
#9AA820 #C6D72E #D4E161 #E2EB94 #F0F5C8

Accessibility & contrast

On white

1.42
#D4E161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#D4E161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E161
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E161#FFFFFF#000000##000000
##D4E1611.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D753
Deuteranopia (green-blind)
#EFD969
Tritanopia (blue-blind)
#E0D5C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e161;
/* rgb */ color: rgb(212, 225, 97);
/* oklch */ color: oklch(87.5% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#e4ea92',
    500: '#d4e161',
    950: '#000000',
  },
}
SCSS
$custom: #d4e161;
$custom-light: #e4ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e161",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 97
  },
  "hsl": {
    "h": 66.094,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.875,
    "c": 0.15214,
    "h": 114.4
  },
  "luminance": 0.68711
}

Semantic roles & 50–950 ramp

primary
#D4E161
secondary
#473CAA
accent
#15D028
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D4E161

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

Preview Lab → · Contrast checker → · Palette generator →

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