#D5F962#D5F962

#D5F962 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.179 H 121.4°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#D5F962
RGBrgb(213, 249, 98)
HSLhsl(74, 93%, 68%)
HSVhsv(74, 61%, 98%)
CMYKcmyk(14.5%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.92, -32.32, 66.67)
CIE-LCHlch(92.92, 74.09, 115.87°)
OKLaboklab(92.78% -0.0933 0.1532)
OKLCHoklch(92.78% 0.179 121.4)
XYZxyz(63.5216, 82.7794, 24.1845)
Luminance0.8278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F962 #8662F9
analogous
#F9D262 #D5F962 #89F962
triadic
#D5F962 #62D5F9 #F962D5
tetradic
#D5F962 #62F9D2 #8662F9 #F96289
square
#D5F962 #62F9D2 #8662F9 #F96289
split-complementary
#D5F962 #6289F9 #D262F9
monochromatic
#A7D808 #C5F727 #D5F962 #E5FB9D #F5FED8

Accessibility & contrast

On white

1.20
#D5F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#D5F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F962
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F962#FFFFFF#000000##000000
##D5F9621.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#DFEDD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d5f962;
/* rgb */ color: rgb(213, 249, 98);
/* oklch */ color: oklch(92.8% 0.179 121.4);
Tailwind
colors: {
  custom: {
    50: '#e5fb94',
    500: '#d5f962',
    950: '#000000',
  },
}
SCSS
$custom: #d5f962;
$custom-light: #e5fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f962",
  "rgb": {
    "r": 213,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 74.305,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92784,
    "c": 0.17935,
    "h": 121.4
  },
  "luminance": 0.82779
}

Semantic roles & 50–950 ramp

primary
#D5F962
secondary
#542DD2
accent
#00E637
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D5F962

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

Preview Lab → · Contrast checker → · Palette generator →

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