#D2F974#D2F974

#D2F974 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.165 H 123.2°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#D2F974
RGBrgb(210, 249, 116)
HSLhsl(78, 92%, 72%)
HSVhsv(78, 53%, 98%)
CMYKcmyk(15.7%, 0%, 53.4%, 2.4%)
CIE-LABlab(92.89, -32.00, 58.86)
CIE-LCHlch(92.89, 67.00, 118.53°)
OKLaboklab(92.77% -0.0906 0.1384)
OKLCHoklch(92.77% 0.165 123.2)
XYZxyz(63.6067, 82.7137, 29.1340)
Luminance0.8271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F974 #9B74F9
analogous
#F9DE74 #D2F974 #90F974
triadic
#D2F974 #74D2F9 #F974D2
tetradic
#D2F974 #74F9DE #9B74F9 #F97490
square
#D2F974 #74F9DE #9B74F9 #F97490
split-complementary
#D2F974 #7490F9 #DE74F9
monochromatic
#A7E90A #BFF639 #D2F974 #E5FCAF #F6FEE2

Accessibility & contrast

On white

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

On black

17.54
#D2F974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F974
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F974#FFFFFF#000000##000000
##D2F9741.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#DBEEDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2f974;
/* rgb */ color: rgb(210, 249, 116);
/* oklch */ color: oklch(92.8% 0.165 123.2);
Tailwind
colors: {
  custom: {
    50: '#e2fb9f',
    500: '#d2f974',
    950: '#000000',
  },
}
SCSS
$custom: #d2f974;
$custom-light: #e2fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f974",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 77.594,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92765,
    "c": 0.16545,
    "h": 123.2
  },
  "luminance": 0.82714
}

Semantic roles & 50–950 ramp

primary
#D2F974
secondary
#693DD5
accent
#00E643
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F974

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

Preview Lab → · Contrast checker → · Palette generator →

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