#D4E672#D4E672

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

Color values

HEX#D4E672
RGBrgb(212, 230, 114)
HSLhsl(69, 70%, 67%)
HSVhsv(69, 50%, 90%)
CMYKcmyk(7.8%, 0%, 50.4%, 9.8%)
CIE-LABlab(87.88, -22.46, 53.92)
CIE-LCHlch(87.88, 58.41, 112.61°)
OKLaboklab(88.77% -0.0641 0.1275)
OKLCHoklch(88.77% 0.143 116.7)
XYZxyz(58.4862, 71.8062, 26.6952)
Luminance0.7181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E672 #8472E6
analogous
#E6BE72 #D4E672 #9AE672
triadic
#D4E672 #72D4E6 #E672D4
tetradic
#D4E672 #72E6BE #8472E6 #E6729A
square
#D4E672 #72E6BE #8472E6 #E6729A
split-complementary
#D4E672 #729AE6 #BE72E6
monochromatic
#A4BC21 #C4DD3E #D4E672 #E4EFA6 #F4F8DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E672#FFFFFF#000000##000000
##D4E6721.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)
#F3DC67
Deuteranopia (green-blind)
#F2DD78
Tritanopia (blue-blind)
#DFDBCC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d4e672;
/* rgb */ color: rgb(212, 230, 114);
/* oklch */ color: oklch(88.8% 0.143 116.7);
Tailwind
colors: {
  custom: {
    50: '#e3ed9d',
    500: '#d4e672',
    950: '#000000',
  },
}
SCSS
$custom: #d4e672;
$custom-light: #e3ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e672",
  "rgb": {
    "r": 212,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 69.31,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88768,
    "c": 0.14269,
    "h": 116.7
  },
  "luminance": 0.71806
}

Semantic roles & 50–950 ramp

primary
#D4E672
secondary
#5440BC
accent
#14D231
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D4E672

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

Preview Lab → · Contrast checker → · Palette generator →

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