#D4E970#D4E970

#D4E970 is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.4% C 0.148 H 117.7°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D4E970
RGBrgb(212, 233, 112)
HSLhsl(70, 73%, 68%)
HSVhsv(70, 52%, 91%)
CMYKcmyk(9%, 0%, 51.9%, 8.6%)
CIE-LABlab(88.66, -24.08, 55.76)
CIE-LCHlch(88.66, 60.74, 113.35°)
OKLaboklab(89.39% -0.0689 0.1313)
OKLCHoklch(89.39% 0.148 117.7)
XYZxyz(59.2157, 73.4452, 26.3829)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E970 #8570E9
analogous
#E9C170 #D4E970 #98E970
triadic
#D4E970 #70D4E9 #E970D4
tetradic
#D4E970 #70E9C1 #8570E9 #E97098
square
#D4E970 #70E9C1 #8570E9 #E97098
split-complementary
#D4E970 #7098E9 #C170E9
monochromatic
#A5C11E #C4E13B #D4E970 #E4F1A5 #F4F9DA

Accessibility & contrast

On white

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

On black

15.69
#D4E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E970
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E970#FFFFFF#000000##000000
##D4E9701.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE64
Deuteranopia (green-blind)
#F4DF77
Tritanopia (blue-blind)
#DFDECE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e970;
/* rgb */ color: rgb(212, 233, 112);
/* oklch */ color: oklch(89.4% 0.148 117.7);
Tailwind
colors: {
  custom: {
    50: '#e3f09c',
    500: '#d4e970',
    950: '#000000',
  },
}
SCSS
$custom: #d4e970;
$custom-light: #e3f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e970",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 70.413,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89389,
    "c": 0.14827,
    "h": 117.7
  },
  "luminance": 0.73445
}

Semantic roles & 50–950 ramp

primary
#D4E970
secondary
#543EC0
accent
#10D532
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D4E970

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

Preview Lab → · Contrast checker → · Palette generator →

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