#D2E671#D2E671

#D2E671 is a very light, vivid yellow-green. Relative luminance 0.715; OKLCH L 88.6% C 0.144 H 117.5°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#D2E671
RGBrgb(210, 230, 113)
HSLhsl(70, 70%, 67%)
HSVhsv(70, 51%, 90%)
CMYKcmyk(8.7%, 0%, 50.9%, 9.8%)
CIE-LABlab(87.72, -23.33, 54.16)
CIE-LCHlch(87.72, 58.97, 113.30°)
OKLaboklab(88.61% -0.0665 0.128)
OKLCHoklch(88.61% 0.144 117.5)
XYZxyz(57.8565, 71.4880, 26.3702)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E671 #8571E6
analogous
#E6BF71 #D2E671 #98E671
triadic
#D2E671 #71D2E6 #E671D2
tetradic
#D2E671 #71E6BF #8571E6 #E67198
square
#D2E671 #71E6BF #8571E6 #E67198
split-complementary
#D2E671 #7198E6 #BF71E6
monochromatic
#A1BC21 #C2DD3D #D2E671 #E2EFA5 #F3F8D9

Accessibility & contrast

On white

1.37
#D2E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#D2E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E671
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E671#FFFFFF#000000##000000
##D2E6711.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#F1DD78
Tritanopia (blue-blind)
#DCDBCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e671;
/* rgb */ color: rgb(210, 230, 113);
/* oklch */ color: oklch(88.6% 0.144 117.5);
Tailwind
colors: {
  custom: {
    50: '#e2ed9d',
    500: '#d2e671',
    950: '#000000',
  },
}
SCSS
$custom: #d2e671;
$custom-light: #e2ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e671",
  "rgb": {
    "r": 210,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 70.256,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88605,
    "c": 0.14422,
    "h": 117.5
  },
  "luminance": 0.71488
}

Semantic roles & 50–950 ramp

primary
#D2E671
secondary
#5540BB
accent
#13D234
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E671

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

Preview Lab → · Contrast checker → · Palette generator →

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