#D9EC72#D9EC72

#D9EC72 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.4% C 0.149 H 116.8°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#D9EC72
RGBrgb(217, 236, 114)
HSLhsl(69, 76%, 69%)
HSVhsv(69, 52%, 93%)
CMYKcmyk(8.1%, 0%, 51.7%, 7.5%)
CIE-LABlab(89.84, -23.40, 56.32)
CIE-LCHlch(89.84, 60.99, 112.56°)
OKLaboklab(90.43% -0.067 0.1326)
OKLCHoklch(90.43% 0.149 116.8)
XYZxyz(61.6488, 75.9582, 27.3300)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC72 #8572EC
analogous
#ECC272 #D9EC72 #9CEC72
triadic
#D9EC72 #72D9EC #EC72D9
tetradic
#D9EC72 #72ECC2 #8572EC #EC729C
square
#D9EC72 #72ECC2 #8572EC #EC729C
split-complementary
#D9EC72 #729CEC #C272EC
monochromatic
#AEC91B #CAE53C #D9EC72 #E8F3A8 #F6FBDE

Accessibility & contrast

On white

1.30
#D9EC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#D9EC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC72
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC72#FFFFFF#000000##000000
##D9EC721.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE166
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#E4E1D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d9ec72;
/* rgb */ color: rgb(217, 236, 114);
/* oklch */ color: oklch(90.4% 0.149 116.8);
Tailwind
colors: {
  custom: {
    50: '#e7f29e',
    500: '#d9ec72',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec72;
$custom-light: #e7f29e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec72",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 114
  },
  "hsl": {
    "h": 69.344,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.9043,
    "c": 0.1486,
    "h": 116.8
  },
  "luminance": 0.75958
}

Semantic roles & 50–950 ramp

primary
#D9EC72
secondary
#533EC4
accent
#0DD82D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D9EC72

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

Preview Lab → · Contrast checker → · Palette generator →

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