#D2F072#D2F072

#D2F072 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.8% C 0.156 H 120.7°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#D2F072
RGBrgb(210, 240, 114)
HSLhsl(74, 81%, 69%)
HSVhsv(74, 53%, 94%)
CMYKcmyk(12.5%, 0%, 52.5%, 5.9%)
CIE-LABlab(90.43, -27.99, 56.89)
CIE-LCHlch(90.43, 63.41, 116.20°)
OKLaboklab(90.78% -0.0796 0.134)
OKLCHoklch(90.78% 0.156 120.7)
XYZxyz(60.7762, 77.2368, 27.6227)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F072 #9072F0
analogous
#F0CF72 #D2F072 #93F072
triadic
#D2F072 #72D2F0 #F072D2
tetradic
#D2F072 #72F0CF #9072F0 #F07293
square
#D2F072 #72F0CF #9072F0 #F07293
split-complementary
#D2F072 #7293F0 #CF72F0
monochromatic
#A5D116 #C0EA3B #D2F072 #E4F6A9 #F5FCE1

Accessibility & contrast

On white

1.28
#D2F072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#D2F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F072
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F072#FFFFFF#000000##000000
##D2F0721.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#DCE5D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f072;
/* rgb */ color: rgb(210, 240, 114);
/* oklch */ color: oklch(90.8% 0.156 120.7);
Tailwind
colors: {
  custom: {
    50: '#e2f59e',
    500: '#d2f072',
    950: '#000000',
  },
}
SCSS
$custom: #d2f072;
$custom-light: #e2f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f072",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 74.286,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90782,
    "c": 0.15581,
    "h": 120.7
  },
  "luminance": 0.77237
}

Semantic roles & 50–950 ramp

primary
#D2F072
secondary
#5E3DC9
accent
#08DD3B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F072

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

Preview Lab → · Contrast checker → · Palette generator →

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