#D2F45B#D2F45B

#D2F45B is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.4% C 0.180 H 120.8°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#D2F45B
RGBrgb(210, 244, 91)
HSLhsl(73, 87%, 66%)
HSVhsv(73, 63%, 96%)
CMYKcmyk(13.9%, 0%, 62.7%, 4.3%)
CIE-LABlab(91.31, -31.67, 67.70)
CIE-LCHlch(91.31, 74.74, 115.07°)
OKLaboklab(91.42% -0.092 0.1545)
OKLCHoklch(91.42% 0.18 120.8)
XYZxyz(60.8182, 79.1584, 21.9706)
Luminance0.7916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F45B #7D5BF4
analogous
#F4C95B #D2F45B #85F45B
triadic
#D2F45B #5BD2F4 #F45BD2
tetradic
#D2F45B #5BF4C9 #7D5BF4 #F45B85
square
#D2F45B #5BF4C9 #7D5BF4 #F45B85
split-complementary
#D2F45B #5B85F4 #C95BF4
monochromatic
#9EC70D #C2F022 #D2F45B #E2F894 #F1FCCE

Accessibility & contrast

On white

1.25
#D2F45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#D2F45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F45B
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F45B#FFFFFF#000000##000000
##D2F45B1.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE748
Deuteranopia (green-blind)
#FEE666
Tritanopia (blue-blind)
#DDE8D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f45b;
/* rgb */ color: rgb(210, 244, 91);
/* oklch */ color: oklch(91.4% 0.180 120.8);
Tailwind
colors: {
  custom: {
    50: '#e3f790',
    500: '#d2f45b',
    950: '#000000',
  },
}
SCSS
$custom: #d2f45b;
$custom-light: #e3f790;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f45b",
  "rgb": {
    "r": 210,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 73.333,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91418,
    "c": 0.17983,
    "h": 120.8
  },
  "luminance": 0.79158
}

Semantic roles & 50–950 ramp

primary
#D2F45B
secondary
#502FC4
accent
#02E434
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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