#D4E173#D4E173

#D4E173 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.7% C 0.136 H 114.8°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#D4E173
RGBrgb(212, 225, 115)
HSLhsl(67, 65%, 67%)
HSVhsv(67, 49%, 88%)
CMYKcmyk(5.8%, 0%, 48.9%, 11.8%)
CIE-LABlab(86.55, -19.94, 51.87)
CIE-LCHlch(86.55, 55.57, 111.03°)
OKLaboklab(87.71% -0.0569 0.1231)
OKLCHoklch(87.71% 0.136 114.8)
XYZxyz(57.1719, 69.0861, 26.5395)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E173 #8073E1
analogous
#E1B773 #D4E173 #9DE173
triadic
#D4E173 #73D4E1 #E173D4
tetradic
#D4E173 #73E1B7 #8073E1 #E1739D
square
#D4E173 #73E1B7 #8073E1 #E1739D
split-complementary
#D4E173 #739DE1 #B773E1
monochromatic
#A3B326 #C5D641 #D4E173 #E3ECA5 #F3F7D8

Accessibility & contrast

On white

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

On black

14.82
#D4E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E173
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E173#FFFFFF#000000##000000
##D4E1731.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED869
Deuteranopia (green-blind)
#EDDA79
Tritanopia (blue-blind)
#DFD6C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e173;
/* rgb */ color: rgb(212, 225, 115);
/* oklch */ color: oklch(87.7% 0.136 114.8);
Tailwind
colors: {
  custom: {
    50: '#e3ea9e',
    500: '#d4e173',
    950: '#000000',
  },
}
SCSS
$custom: #d4e173;
$custom-light: #e3ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e173",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 67.091,
    "s": 64.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87709,
    "c": 0.1356,
    "h": 114.8
  },
  "luminance": 0.69085
}

Semantic roles & 50–950 ramp

primary
#D4E173
secondary
#5144B4
accent
#19CD2E
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E173

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

Preview Lab → · Contrast checker → · Palette generator →

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