#D7F952#D7F952

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

Color values

HEX#D7F952
RGBrgb(215, 249, 82)
HSLhsl(72, 93%, 65%)
HSVhsv(72, 67%, 98%)
CMYKcmyk(13.7%, 0%, 67.1%, 2.4%)
CIE-LABlab(92.93, -32.60, 72.95)
CIE-LCHlch(92.93, 79.91, 114.08°)
OKLaboklab(92.79% -0.0957 0.1642)
OKLCHoklch(92.79% 0.19 120.2)
XYZxyz(63.4240, 82.8078, 20.6233)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F952 #7452F9
analogous
#F9C852 #D7F952 #83F952
triadic
#D7F952 #52D7F9 #F952D7
tetradic
#D7F952 #52F9C8 #7452F9 #F95283
square
#D7F952 #52F9C8 #7452F9 #F95283
split-complementary
#D7F952 #5283F9 #C852F9
monochromatic
#A2CA07 #C9F717 #D7F952 #E5FB8D #F2FDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7F952#FFFFFF#000000##000000
##D7F9521.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)
#FFEB39
Deuteranopia (green-blind)
#FFEB5F
Tritanopia (blue-blind)
#E3ECD8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d7f952;
/* rgb */ color: rgb(215, 249, 82);
/* oklch */ color: oklch(92.8% 0.190 120.2);
Tailwind
colors: {
  custom: {
    50: '#e7fb8b',
    500: '#d7f952',
    950: '#000000',
  },
}
SCSS
$custom: #d7f952;
$custom-light: #e7fb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f952",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 82
  },
  "hsl": {
    "h": 72.216,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92789,
    "c": 0.19007,
    "h": 120.2
  },
  "luminance": 0.82808
}

Semantic roles & 50–950 ramp

primary
#D7F952
secondary
#4929C6
accent
#00E62F
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F952

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

Preview Lab → · Contrast checker → · Palette generator →

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