#D2FB7B#D2FB7B

#D2FB7B is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.3% C 0.162 H 124.2°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#D2FB7B
RGBrgb(210, 251, 123)
HSLhsl(79, 94%, 73%)
HSVhsv(79, 51%, 98%)
CMYKcmyk(16.3%, 0%, 51%, 1.6%)
CIE-LABlab(93.51, -32.28, 56.43)
CIE-LCHlch(93.51, 65.01, 119.77°)
OKLaboklab(93.28% -0.0908 0.1337)
OKLCHoklch(93.28% 0.162 124.2)
XYZxyz(64.6508, 84.1257, 31.5669)
Luminance0.8413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FB7B #A47BFB
analogous
#FBE47B #D2FB7B #92FB7B
triadic
#D2FB7B #7BD2FB #FB7BD2
tetradic
#D2FB7B #7BFBE4 #A47BFB #FB7B92
square
#D2FB7B #7BFBE4 #A47BFB #FB7B92
split-complementary
#D2FB7B #7B92FB #E47BFB
monochromatic
#A8F407 #BEF940 #D2FB7B #E6FDB6 #F5FEE1

Accessibility & contrast

On white

1.18
#D2FB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#D2FB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FB7B
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FB7B#FFFFFF#000000##000000
##D2FB7B1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6F
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#DAF1DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d2fb7b;
/* rgb */ color: rgb(210, 251, 123);
/* oklch */ color: oklch(93.3% 0.162 124.2);
Tailwind
colors: {
  custom: {
    50: '#e2fca4',
    500: '#d2fb7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2fb7b;
$custom-light: #e2fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fb7b",
  "rgb": {
    "r": 210,
    "g": 251,
    "b": 123
  },
  "hsl": {
    "h": 79.219,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93284,
    "c": 0.16167,
    "h": 124.2
  },
  "luminance": 0.84126
}

Semantic roles & 50–950 ramp

primary
#D2FB7B
secondary
#7242D8
accent
#00E64A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2FB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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