#D2F056#D2F056

#D2F056 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.5% C 0.179 H 119.6°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#D2F056
RGBrgb(210, 240, 86)
HSLhsl(72, 84%, 64%)
HSVhsv(72, 64%, 94%)
CMYKcmyk(12.5%, 0%, 64.2%, 5.9%)
CIE-LABlab(90.18, -30.15, 68.49)
CIE-LCHlch(90.18, 74.83, 113.76°)
OKLaboklab(90.5% -0.0882 0.1555)
OKLCHoklch(90.5% 0.179 119.6)
XYZxyz(59.4191, 76.6940, 20.4755)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F056 #7456F0
analogous
#F0C156 #D2F056 #85F056
triadic
#D2F056 #56D2F0 #F056D2
tetradic
#D2F056 #56F0C1 #7456F0 #F05685
square
#D2F056 #56F0C1 #7456F0 #F05685
split-complementary
#D2F056 #5685F0 #C156F0
monochromatic
#9ABB11 #C3EB1E #D2F056 #E1F58E #F0FAC6

Accessibility & contrast

On white

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

On black

16.34
#D2F056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F056
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F056#FFFFFF#000000##000000
##D2F0561.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE341
Deuteranopia (green-blind)
#FBE361
Tritanopia (blue-blind)
#DDE4D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2f056;
/* rgb */ color: rgb(210, 240, 86);
/* oklch */ color: oklch(90.5% 0.179 119.6);
Tailwind
colors: {
  custom: {
    50: '#e3f58d',
    500: '#d2f056',
    950: '#000000',
  },
}
SCSS
$custom: #d2f056;
$custom-light: #e3f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f056",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 86
  },
  "hsl": {
    "h": 71.688,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.905,
    "c": 0.17879,
    "h": 119.6
  },
  "luminance": 0.76694
}

Semantic roles & 50–950 ramp

primary
#D2F056
secondary
#4B30BA
accent
#05E030
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F056

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

Preview Lab → · Contrast checker → · Palette generator →

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