#D2F162#D2F162

#D2F162 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.8% C 0.171 H 120.2°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#D2F162
RGBrgb(210, 241, 98)
HSLhsl(73, 84%, 66%)
HSVhsv(73, 59%, 95%)
CMYKcmyk(12.9%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.55, -29.77, 64.01)
CIE-LCHlch(90.55, 70.60, 114.94°)
OKLaboklab(90.83% -0.086 0.1476)
OKLCHoklch(90.83% 0.171 120.2)
XYZxyz(60.2390, 77.4943, 23.3373)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F162 #8162F1
analogous
#F1C962 #D2F162 #8BF162
triadic
#D2F162 #62D2F1 #F162D2
tetradic
#D2F162 #62F1C9 #8162F1 #F1628B
square
#D2F162 #62F1C9 #8162F1 #F1628B
split-complementary
#D2F162 #628BF1 #C962F1
monochromatic
#A0C712 #C2EC2A #D2F162 #E2F69A #F2FBD2

Accessibility & contrast

On white

1.27
#D2F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#D2F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F162
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F162#FFFFFF#000000##000000
##D2F1621.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#DDE5D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f162;
/* rgb */ color: rgb(210, 241, 98);
/* oklch */ color: oklch(90.8% 0.171 120.2);
Tailwind
colors: {
  custom: {
    50: '#e3f594',
    500: '#d2f162',
    950: '#000000',
  },
}
SCSS
$custom: #d2f162;
$custom-light: #e3f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f162",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 73.007,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90827,
    "c": 0.17083,
    "h": 120.2
  },
  "luminance": 0.77494
}

Semantic roles & 50–950 ramp

primary
#D2F162
secondary
#5333C4
accent
#05E035
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F162

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

Preview Lab → · Contrast checker → · Palette generator →

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