#D2F058#D2F058

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

Color values

HEX#D2F058
RGBrgb(210, 240, 88)
HSLhsl(72, 84%, 64%)
HSVhsv(72, 63%, 94%)
CMYKcmyk(12.5%, 0%, 63.3%, 5.9%)
CIE-LABlab(90.20, -30.01, 67.72)
CIE-LCHlch(90.20, 74.07, 113.91°)
OKLaboklab(90.52% -0.0876 0.1542)
OKLCHoklch(90.52% 0.177 119.6)
XYZxyz(59.5008, 76.7267, 20.9058)
Luminance0.7673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F058 #7658F0
analogous
#F0C258 #D2F058 #86F058
triadic
#D2F058 #58D2F0 #F058D2
tetradic
#D2F058 #58F0C2 #7658F0 #F05886
square
#D2F058 #58F0C2 #7658F0 #F05886
split-complementary
#D2F058 #5886F0 #C258F0
monochromatic
#9BBD11 #C3EB20 #D2F058 #E1F590 #F0FAC8

Accessibility & contrast

On white

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

On black

16.35
#D2F058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F058
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F058#FFFFFF#000000##000000
##D2F0581.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE344
Deuteranopia (green-blind)
#FBE363
Tritanopia (blue-blind)
#DDE4D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2f058;
/* rgb */ color: rgb(210, 240, 88);
/* oklch */ color: oklch(90.5% 0.177 119.6);
Tailwind
colors: {
  custom: {
    50: '#e3f58e',
    500: '#d2f058',
    950: '#000000',
  },
}
SCSS
$custom: #d2f058;
$custom-light: #e3f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f058",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 88
  },
  "hsl": {
    "h": 71.842,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90517,
    "c": 0.17734,
    "h": 119.6
  },
  "luminance": 0.76726
}

Semantic roles & 50–950 ramp

primary
#D2F058
secondary
#4C31BB
accent
#06E031
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F058

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

Preview Lab → · Contrast checker → · Palette generator →

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