#D4E795#D4E795

#D4E795 is a very light, moderate yellow-green. Relative luminance 0.733; OKLCH L 89.5% C 0.107 H 119.2°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#D4E795
RGBrgb(212, 231, 149)
HSLhsl(74, 63%, 75%)
HSVhsv(74, 35%, 91%)
CMYKcmyk(8.2%, 0%, 35.5%, 9.4%)
CIE-LABlab(88.60, -19.21, 37.87)
CIE-LCHlch(88.60, 42.47, 116.90°)
OKLaboklab(89.5% -0.0523 0.0935)
OKLCHoklch(89.5% 0.107 119.2)
XYZxyz(61.1520, 73.3190, 39.3584)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E795 #A895E7
analogous
#E7D195 #D4E795 #ABE795
triadic
#D4E795 #95D4E7 #E795D4
tetradic
#D4E795 #95E7D1 #A895E7 #E795AB
square
#D4E795 #95E7D1 #A895E7 #E795AB
split-complementary
#D4E795 #95ABE7 #D195E7
monochromatic
#ACD031 #C0DC63 #D4E795 #E8F2C7 #F5F9E6

Accessibility & contrast

On white

1.34
#D4E795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#D4E795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E795
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E795#FFFFFF#000000##000000
##D4E7951.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e795;
/* rgb */ color: rgb(212, 231, 149);
/* oklch */ color: oklch(89.5% 0.107 119.2);
Tailwind
colors: {
  custom: {
    50: '#e2eeb5',
    500: '#d4e795',
    950: '#000000',
  },
}
SCSS
$custom: #d4e795;
$custom-light: #e2eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e795",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 73.902,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89495,
    "c": 0.10712,
    "h": 119.2
  },
  "luminance": 0.73319
}

Semantic roles & 50–950 ramp

primary
#D4E795
secondary
#765FC1
accent
#1BCB43
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D4E795

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

Preview Lab → · Contrast checker → · Palette generator →

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