#D2F048#D2F048

#D2F048 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.4% C 0.188 H 119.2°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#D2F048
RGBrgb(210, 240, 72)
HSLhsl(71, 85%, 61%)
HSVhsv(71, 70%, 94%)
CMYKcmyk(12.5%, 0%, 70%, 5.9%)
CIE-LABlab(90.09, -30.97, 73.57)
CIE-LCHlch(90.09, 79.82, 112.83°)
OKLaboklab(90.39% -0.0917 0.1642)
OKLCHoklch(90.39% 0.188 119.2)
XYZxyz(58.9093, 76.4901, 17.7903)
Luminance0.7649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F048 #6648F0
analogous
#F0BA48 #D2F048 #7EF048
triadic
#D2F048 #48D2F0 #F048D2
tetradic
#D2F048 #48F0BA #6648F0 #F0487E
square
#D2F048 #48F0BA #6648F0 #F0487E
split-complementary
#D2F048 #487EF0 #BA48F0
monochromatic
#93AF0E #C2E813 #D2F048 #E0F581 #EEF9B9

Accessibility & contrast

On white

1.29
#D2F048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#D2F048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F048
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F048#FFFFFF#000000##000000
##D2F0481.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE32B
Deuteranopia (green-blind)
#FCE356
Tritanopia (blue-blind)
#DEE3CF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2f048;
/* rgb */ color: rgb(210, 240, 72);
/* oklch */ color: oklch(90.4% 0.188 119.2);
Tailwind
colors: {
  custom: {
    50: '#e3f585',
    500: '#d2f048',
    950: '#000000',
  },
}
SCSS
$custom: #d2f048;
$custom-light: #e3f585;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f048",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 72
  },
  "hsl": {
    "h": 70.714,
    "s": 84.848,
    "l": 61.176
  },
  "oklch": {
    "l": 0.90394,
    "c": 0.18805,
    "h": 119.2
  },
  "luminance": 0.7649
}

Semantic roles & 50–950 ramp

primary
#D2F048
secondary
#442DAF
accent
#04E12C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D2F048

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

Preview Lab → · Contrast checker → · Palette generator →

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