#D4E671#D4E671

#D4E671 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 88.8% C 0.144 H 116.7°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#D4E671
RGBrgb(212, 230, 113)
HSLhsl(69, 70%, 67%)
HSVhsv(69, 51%, 90%)
CMYKcmyk(7.8%, 0%, 50.9%, 9.8%)
CIE-LABlab(87.86, -22.55, 54.37)
CIE-LCHlch(87.86, 58.86, 112.53°)
OKLaboklab(88.76% -0.0644 0.1284)
OKLCHoklch(88.76% 0.144 116.7)
XYZxyz(58.4296, 71.7835, 26.3971)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E671 #8371E6
analogous
#E6BE71 #D4E671 #99E671
triadic
#D4E671 #71D4E6 #E671D4
tetradic
#D4E671 #71E6BE #8371E6 #E67199
square
#D4E671 #71E6BE #8371E6 #E67199
split-complementary
#D4E671 #7199E6 #BE71E6
monochromatic
#A4BC21 #C4DD3D #D4E671 #E4EFA5 #F4F8D9

Accessibility & contrast

On white

1.37
#D4E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#D4E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E671
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E671#FFFFFF#000000##000000
##D4E6711.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#F2DD78
Tritanopia (blue-blind)
#DFDBCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d4e671;
/* rgb */ color: rgb(212, 230, 113);
/* oklch */ color: oklch(88.8% 0.144 116.7);
Tailwind
colors: {
  custom: {
    50: '#e3ed9d',
    500: '#d4e671',
    950: '#000000',
  },
}
SCSS
$custom: #d4e671;
$custom-light: #e3ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e671",
  "rgb": {
    "r": 212,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 69.231,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88755,
    "c": 0.14364,
    "h": 116.7
  },
  "luminance": 0.71783
}

Semantic roles & 50–950 ramp

primary
#D4E671
secondary
#5340BB
accent
#13D231
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E671

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

Preview Lab → · Contrast checker → · Palette generator →

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