#D2E795#D2E795

#D2E795 is a very light, moderate yellow-green. Relative luminance 0.730; OKLCH L 89.3% C 0.108 H 120.3°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#D2E795
RGBrgb(210, 231, 149)
HSLhsl(75, 63%, 75%)
HSVhsv(75, 35%, 91%)
CMYKcmyk(9.1%, 0%, 35.5%, 9.4%)
CIE-LABlab(88.46, -19.96, 37.66)
CIE-LCHlch(88.46, 42.63, 117.92°)
OKLaboklab(89.35% -0.0544 0.093)
OKLCHoklch(89.35% 0.108 120.3)
XYZxyz(60.5789, 73.0235, 39.3315)
Luminance0.7302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E795 #AA95E7
analogous
#E7D395 #D2E795 #A9E795
triadic
#D2E795 #95D2E7 #E795D2
tetradic
#D2E795 #95E7D3 #AA95E7 #E795A9
square
#D2E795 #95E7D3 #AA95E7 #E795A9
split-complementary
#D2E795 #95A9E7 #D395E7
monochromatic
#A8D031 #BDDC63 #D2E795 #E7F2C7 #F4F9E6

Accessibility & contrast

On white

1.35
#D2E795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#D2E795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E795
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E795#FFFFFF#000000##000000
##D2E7951.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE8F
Deuteranopia (green-blind)
#EEDE99
Tritanopia (blue-blind)
#D9DFD2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e795;
/* rgb */ color: rgb(210, 231, 149);
/* oklch */ color: oklch(89.3% 0.108 120.3);
Tailwind
colors: {
  custom: {
    50: '#e0eeb5',
    500: '#d2e795',
    950: '#000000',
  },
}
SCSS
$custom: #d2e795;
$custom-light: #e0eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e795",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 75.366,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89348,
    "c": 0.10772,
    "h": 120.3
  },
  "luminance": 0.73023
}

Semantic roles & 50–950 ramp

primary
#D2E795
secondary
#785FC1
accent
#1BCB48
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2E795

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

Preview Lab → · Contrast checker → · Palette generator →

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