#D2E370#D2E370

#D2E370 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.9% C 0.141 H 116.4°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D2E370
RGBrgb(210, 227, 112)
HSLhsl(69, 67%, 66%)
HSVhsv(69, 51%, 89%)
CMYKcmyk(7.5%, 0%, 50.7%, 11%)
CIE-LABlab(86.90, -21.97, 53.66)
CIE-LCHlch(86.90, 57.98, 112.27°)
OKLaboklab(87.95% -0.0628 0.1268)
OKLCHoklch(87.95% 0.141 116.4)
XYZxyz(56.9728, 69.8103, 25.7995)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E370 #8170E3
analogous
#E3BB70 #D2E370 #99E370
triadic
#D2E370 #70D2E3 #E370D2
tetradic
#D2E370 #70E3BB #8170E3 #E37099
square
#D2E370 #70E3BB #8170E3 #E37099
split-complementary
#D2E370 #7099E3 #BB70E3
monochromatic
#A0B523 #C2D93D #D2E370 #E2EDA3 #F2F7D6

Accessibility & contrast

On white

1.40
#D2E370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D2E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E370
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E370#FFFFFF#000000##000000
##D2E3701.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D965
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#DDD8C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e370;
/* rgb */ color: rgb(210, 227, 112);
/* oklch */ color: oklch(87.9% 0.141 116.4);
Tailwind
colors: {
  custom: {
    50: '#e2eb9c',
    500: '#d2e370',
    950: '#000000',
  },
}
SCSS
$custom: #d2e370;
$custom-light: #e2eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e370",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 68.87,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87947,
    "c": 0.14147,
    "h": 116.4
  },
  "luminance": 0.6981
}

Semantic roles & 50–950 ramp

primary
#D2E370
secondary
#5341B6
accent
#16CF32
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E370

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

Preview Lab → · Contrast checker → · Palette generator →

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