#D2F057#D2F057

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

Color values

HEX#D2F057
RGBrgb(210, 240, 87)
HSLhsl(72, 84%, 64%)
HSVhsv(72, 64%, 94%)
CMYKcmyk(12.5%, 0%, 63.7%, 5.9%)
CIE-LABlab(90.19, -30.08, 68.10)
CIE-LCHlch(90.19, 74.45, 113.83°)
OKLaboklab(90.51% -0.0879 0.1548)
OKLCHoklch(90.51% 0.178 119.6)
XYZxyz(59.4597, 76.7102, 20.6891)
Luminance0.7671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F057 #7557F0
analogous
#F0C257 #D2F057 #86F057
triadic
#D2F057 #57D2F0 #F057D2
tetradic
#D2F057 #57F0C2 #7557F0 #F05786
square
#D2F057 #57F0C2 #7557F0 #F05786
split-complementary
#D2F057 #5786F0 #C257F0
monochromatic
#9ABC11 #C3EB1F #D2F057 #E1F58F #F0FAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F057#FFFFFF#000000##000000
##D2F0571.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)
#FFE343
Deuteranopia (green-blind)
#FBE362
Tritanopia (blue-blind)
#DDE4D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2f057;
/* rgb */ color: rgb(210, 240, 87);
/* oklch */ color: oklch(90.5% 0.178 119.6);
Tailwind
colors: {
  custom: {
    50: '#e3f58d',
    500: '#d2f057',
    950: '#000000',
  },
}
SCSS
$custom: #d2f057;
$custom-light: #e3f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f057",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 87
  },
  "hsl": {
    "h": 71.765,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90509,
    "c": 0.17806,
    "h": 119.6
  },
  "luminance": 0.7671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2F057

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

Preview Lab → · Contrast checker → · Palette generator →

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