#D9F162#D9F162

#D9F162 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.3% C 0.168 H 117.9°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#D9F162
RGBrgb(217, 241, 98)
HSLhsl(70, 84%, 66%)
HSVhsv(70, 59%, 95%)
CMYKcmyk(10%, 0%, 59.3%, 5.5%)
CIE-LABlab(91.03, -27.05, 64.68)
CIE-LCHlch(91.03, 70.11, 112.70°)
OKLaboklab(91.33% -0.0788 0.1489)
OKLCHoklch(91.33% 0.168 117.9)
XYZxyz(62.2762, 78.5447, 23.4328)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F162 #7A62F1
analogous
#F1C262 #D9F162 #92F162
triadic
#D9F162 #62D9F1 #F162D9
tetradic
#D9F162 #62F1C2 #7A62F1 #F16292
square
#D9F162 #62F1C2 #7A62F1 #F16292
split-complementary
#D9F162 #6292F1 #C262F1
monochromatic
#A8C712 #CBEC2A #D9F162 #E7F69A #F4FBD2

Accessibility & contrast

On white

1.26
#D9F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#D9F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F162
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F162#FFFFFF#000000##000000
##D9F1621.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FDE66B
Tritanopia (blue-blind)
#E5E5D3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d9f162;
/* rgb */ color: rgb(217, 241, 98);
/* oklch */ color: oklch(91.3% 0.168 117.9);
Tailwind
colors: {
  custom: {
    50: '#e7f594',
    500: '#d9f162',
    950: '#000000',
  },
}
SCSS
$custom: #d9f162;
$custom-light: #e7f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f162",
  "rgb": {
    "r": 217,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 70.07,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91333,
    "c": 0.16845,
    "h": 117.9
  },
  "luminance": 0.78544
}

Semantic roles & 50–950 ramp

primary
#D9F162
secondary
#4C33C4
accent
#05E02A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F162

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

Preview Lab → · Contrast checker → · Palette generator →

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