#D2E215#D2E215

#D2E215 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.1% C 0.194 H 114.9°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#D2E215
RGBrgb(210, 226, 21)
HSLhsl(65, 83%, 48%)
HSVhsv(65, 91%, 89%)
CMYKcmyk(7.1%, 0%, 90.7%, 11.4%)
CIE-LABlab(86.08, -26.11, 82.79)
CIE-LCHlch(86.08, 86.81, 107.51°)
OKLaboklab(87.11% -0.0816 0.1761)
OKLCHoklch(87.11% 0.194 114.9)
XYZxyz(53.9118, 68.1495, 11.0235)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E215 #2515E2
analogous
#E28B15 #D2E215 #6BE215
triadic
#D2E215 #15D2E2 #E215D2
tetradic
#D2E215 #15E28B #2515E2 #E2156B
square
#D2E215 #15E28B #2515E2 #E2156B
split-complementary
#D2E215 #156BE2 #8B15E2
monochromatic
#6A720B #9EAA10 #D2E215 #E1EE46 #EAF37E

Accessibility & contrast

On white

1.44
#D2E215 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#D2E215 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E215
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E215#FFFFFF#000000##000000
##D2E2151.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D600
Deuteranopia (green-blind)
#F2D932
Tritanopia (blue-blind)
#E1D4C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e215;
/* rgb */ color: rgb(210, 226, 21);
/* oklch */ color: oklch(87.1% 0.194 114.9);
Tailwind
colors: {
  custom: {
    50: '#e5ea70',
    500: '#d2e215',
    950: '#000000',
  },
}
SCSS
$custom: #d2e215;
$custom-light: #e5ea70;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e215",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 21
  },
  "hsl": {
    "h": 64.683,
    "s": 82.996,
    "l": 48.431
  },
  "oklch": {
    "l": 0.87111,
    "c": 0.19409,
    "h": 114.9
  },
  "luminance": 0.68148
}

Semantic roles & 50–950 ramp

primary
#D2E215
secondary
#28217B
accent
#2EF93E
background
#FFFEFB
surface
#FEFDF1
border
#D6D5CB
text
#161609
muted
#85847D

Preview Lab

Preview with #D2E215

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

Preview Lab → · Contrast checker → · Palette generator →

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