#D4E772#D4E772

#D4E772 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.0% C 0.144 H 117.1°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#D4E772
RGBrgb(212, 231, 114)
HSLhsl(70, 71%, 68%)
HSVhsv(70, 51%, 91%)
CMYKcmyk(8.2%, 0%, 50.6%, 9.4%)
CIE-LABlab(88.14, -22.94, 54.24)
CIE-LCHlch(88.14, 58.89, 112.93°)
OKLaboklab(88.98% -0.0655 0.1282)
OKLCHoklch(88.98% 0.144 117.1)
XYZxyz(58.7653, 72.3643, 26.7883)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E772 #8572E7
analogous
#E7C072 #D4E772 #99E772
triadic
#D4E772 #72D4E7 #E772D4
tetradic
#D4E772 #72E7C0 #8572E7 #E77299
square
#D4E772 #72E7C0 #8572E7 #E77299
split-complementary
#D4E772 #7299E7 #C072E7
monochromatic
#A5BE20 #C4DE3E #D4E772 #E4F0A6 #F4F9DB

Accessibility & contrast

On white

1.36
#D4E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#D4E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E772
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E772#FFFFFF#000000##000000
##D4E7721.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD67
Deuteranopia (green-blind)
#F2DE79
Tritanopia (blue-blind)
#DFDCCC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d4e772;
/* rgb */ color: rgb(212, 231, 114);
/* oklch */ color: oklch(89.0% 0.144 117.1);
Tailwind
colors: {
  custom: {
    50: '#e3ee9d',
    500: '#d4e772',
    950: '#000000',
  },
}
SCSS
$custom: #d4e772;
$custom-light: #e3ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e772",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 69.744,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88983,
    "c": 0.14392,
    "h": 117.1
  },
  "luminance": 0.72364
}

Semantic roles & 50–950 ramp

primary
#D4E772
secondary
#5440BD
accent
#13D332
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D4E772

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

Preview Lab → · Contrast checker → · Palette generator →

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