#D7F962#D7F962

#D7F962 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 92.9% C 0.179 H 120.7°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#D7F962
RGBrgb(215, 249, 98)
HSLhsl(74, 93%, 68%)
HSVhsv(74, 61%, 98%)
CMYKcmyk(13.7%, 0%, 60.6%, 2.4%)
CIE-LABlab(93.05, -31.56, 66.85)
CIE-LCHlch(93.05, 73.92, 115.27°)
OKLaboklab(92.92% -0.0913 0.1535)
OKLCHoklch(92.92% 0.179 120.7)
XYZxyz(64.1054, 83.0804, 24.2119)
Luminance0.8308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F962 #8462F9
analogous
#F9CF62 #D7F962 #8BF962
triadic
#D7F962 #62D7F9 #F962D7
tetradic
#D7F962 #62F9CF #8462F9 #F9628B
square
#D7F962 #62F9CF #8462F9 #F9628B
split-complementary
#D7F962 #628BF9 #CF62F9
monochromatic
#A9D808 #C8F727 #D7F962 #E6FB9D #F5FED8

Accessibility & contrast

On white

1.19
#D7F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#D7F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F962
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F962#FFFFFF#000000##000000
##D7F9621.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7f962;
/* rgb */ color: rgb(215, 249, 98);
/* oklch */ color: oklch(92.9% 0.179 120.7);
Tailwind
colors: {
  custom: {
    50: '#e6fb94',
    500: '#d7f962',
    950: '#000000',
  },
}
SCSS
$custom: #d7f962;
$custom-light: #e6fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f962",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 73.51,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92923,
    "c": 0.17861,
    "h": 120.7
  },
  "luminance": 0.8308
}

Semantic roles & 50–950 ramp

primary
#D7F962
secondary
#522DD2
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D7F962

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

Preview Lab → · Contrast checker → · Palette generator →

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