#D3E978#D3E978

#D3E978 is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 89.4% C 0.141 H 118.4°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#D3E978
RGBrgb(211, 233, 120)
HSLhsl(72, 72%, 69%)
HSVhsv(72, 48%, 91%)
CMYKcmyk(9.4%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.68, -23.73, 52.07)
CIE-LCHlch(88.68, 57.22, 114.50°)
OKLaboklab(89.41% -0.0671 0.1239)
OKLCHoklch(89.41% 0.141 118.4)
XYZxyz(59.3936, 73.4832, 28.8204)
Luminance0.7348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E978 #8E78E9
analogous
#E9C678 #D3E978 #9BE978
triadic
#D3E978 #78D3E9 #E978D3
tetradic
#D3E978 #78E9C6 #8E78E9 #E9789B
square
#D3E978 #78E9C6 #8E78E9 #E9789B
split-complementary
#D3E978 #789BE9 #C678E9
monochromatic
#A6C620 #C2E043 #D3E978 #E4F2AD #F5FAE1

Accessibility & contrast

On white

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

On black

15.70
#D3E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E978
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E978#FFFFFF#000000##000000
##D3E9781.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6E
Deuteranopia (green-blind)
#F3DF7E
Tritanopia (blue-blind)
#DDDFCF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d3e978;
/* rgb */ color: rgb(211, 233, 120);
/* oklch */ color: oklch(89.4% 0.141 118.4);
Tailwind
colors: {
  custom: {
    50: '#e2f0a1',
    500: '#d3e978',
    950: '#000000',
  },
}
SCSS
$custom: #d3e978;
$custom-light: #e2f0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e978",
  "rgb": {
    "r": 211,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 71.681,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89414,
    "c": 0.14092,
    "h": 118.4
  },
  "luminance": 0.73483
}

Semantic roles & 50–950 ramp

primary
#D3E978
secondary
#5C44C1
accent
#11D437
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D3E978

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

Preview Lab → · Contrast checker → · Palette generator →

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