#D4E171#D4E171

#D4E171 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.7% C 0.138 H 114.7°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D4E171
RGBrgb(212, 225, 113)
HSLhsl(67, 65%, 66%)
HSVhsv(67, 50%, 88%)
CMYKcmyk(5.8%, 0%, 49.8%, 11.8%)
CIE-LABlab(86.52, -20.12, 52.78)
CIE-LCHlch(86.52, 56.49, 110.87°)
OKLaboklab(87.68% -0.0576 0.1249)
OKLCHoklch(87.68% 0.138 114.7)
XYZxyz(57.0581, 69.0405, 25.9399)
Luminance0.6904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E171 #7E71E1
analogous
#E1B671 #D4E171 #9CE171
triadic
#D4E171 #71D4E1 #E171D4
tetradic
#D4E171 #71E1B6 #7E71E1 #E1719C
square
#D4E171 #71E1B6 #7E71E1 #E1719C
split-complementary
#D4E171 #719CE1 #B671E1
monochromatic
#A2B226 #C5D63E #D4E171 #E3ECA4 #F3F6D6

Accessibility & contrast

On white

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

On black

14.81
#D4E171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E171
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E171#FFFFFF#000000##000000
##D4E1711.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED867
Deuteranopia (green-blind)
#EEDA77
Tritanopia (blue-blind)
#DFD6C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e171;
/* rgb */ color: rgb(212, 225, 113);
/* oklch */ color: oklch(87.7% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#e3ea9c',
    500: '#d4e171',
    950: '#000000',
  },
}
SCSS
$custom: #d4e171;
$custom-light: #e3ea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e171",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 66.964,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87683,
    "c": 0.13754,
    "h": 114.7
  },
  "luminance": 0.6904
}

Semantic roles & 50–950 ramp

primary
#D4E171
secondary
#5043B3
accent
#19CD2D
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E171

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

Preview Lab → · Contrast checker → · Palette generator →

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