#D2F074#D2F074

#D2F074 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.8% C 0.154 H 120.8°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#D2F074
RGBrgb(210, 240, 116)
HSLhsl(75, 81%, 70%)
HSVhsv(75, 52%, 94%)
CMYKcmyk(12.5%, 0%, 51.7%, 5.9%)
CIE-LABlab(90.45, -27.81, 56.01)
CIE-LCHlch(90.45, 62.53, 116.41°)
OKLaboklab(90.81% -0.0789 0.1322)
OKLCHoklch(90.81% 0.154 120.8)
XYZxyz(60.8913, 77.2829, 28.2288)
Luminance0.7728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F074 #9274F0
analogous
#F0D074 #D2F074 #94F074
triadic
#D2F074 #74D2F0 #F074D2
tetradic
#D2F074 #74F0D0 #9274F0 #F07494
square
#D2F074 #74F0D0 #9274F0 #F07494
split-complementary
#D2F074 #7494F0 #D074F0
monochromatic
#A5D317 #C0EA3D #D2F074 #E4F6AB #F6FCE2

Accessibility & contrast

On white

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

On black

16.46
#D2F074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F074
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F074#FFFFFF#000000##000000
##D2F0741.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE468
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#DBE5D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f074;
/* rgb */ color: rgb(210, 240, 116);
/* oklch */ color: oklch(90.8% 0.154 120.8);
Tailwind
colors: {
  custom: {
    50: '#e2f59f',
    500: '#d2f074',
    950: '#000000',
  },
}
SCSS
$custom: #d2f074;
$custom-light: #e2f59f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f074",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 74.516,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90805,
    "c": 0.15397,
    "h": 120.8
  },
  "luminance": 0.77283
}

Semantic roles & 50–950 ramp

primary
#D2F074
secondary
#603FC9
accent
#09DD3C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F074

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

Preview Lab → · Contrast checker → · Palette generator →

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