#D5F162#D5F162

#D5F162 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 91.0% C 0.170 H 119.3°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#D5F162
RGBrgb(213, 241, 98)
HSLhsl(72, 84%, 66%)
HSVhsv(72, 59%, 95%)
CMYKcmyk(11.6%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.75, -28.61, 64.30)
CIE-LCHlch(90.75, 70.37, 113.99°)
OKLaboklab(91.04% -0.083 0.1481)
OKLCHoklch(91.04% 0.17 119.3)
XYZxyz(61.1014, 77.9389, 23.3777)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F162 #7E62F1
analogous
#F1C662 #D5F162 #8EF162
triadic
#D5F162 #62D5F1 #F162D5
tetradic
#D5F162 #62F1C6 #7E62F1 #F1628E
square
#D5F162 #62F1C6 #7E62F1 #F1628E
split-complementary
#D5F162 #628EF1 #C662F1
monochromatic
#A3C712 #C6EC2A #D5F162 #E4F69A #F3FBD2

Accessibility & contrast

On white

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

On black

16.59
#D5F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F162
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F162#FFFFFF#000000##000000
##D5F1621.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#E0E5D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d5f162;
/* rgb */ color: rgb(213, 241, 98);
/* oklch */ color: oklch(91.0% 0.170 119.3);
Tailwind
colors: {
  custom: {
    50: '#e5f594',
    500: '#d5f162',
    950: '#000000',
  },
}
SCSS
$custom: #d5f162;
$custom-light: #e5f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f162",
  "rgb": {
    "r": 213,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 71.748,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91042,
    "c": 0.16978,
    "h": 119.3
  },
  "luminance": 0.77939
}

Semantic roles & 50–950 ramp

primary
#D5F162
secondary
#5033C4
accent
#05E030
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D5F162

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

Preview Lab → · Contrast checker → · Palette generator →

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