#D2E861#D2E861

#D2E861 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 88.9% C 0.161 H 117.6°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#D2E861
RGBrgb(210, 232, 97)
HSLhsl(70, 75%, 65%)
HSVhsv(70, 58%, 91%)
CMYKcmyk(9.5%, 0%, 58.2%, 9%)
CIE-LABlab(88.10, -25.61, 61.73)
CIE-LCHlch(88.10, 66.83, 112.53°)
OKLaboklab(88.86% -0.0745 0.1426)
OKLCHoklch(88.86% 0.161 117.6)
XYZxyz(57.5936, 72.2785, 22.2240)
Luminance0.7228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E861 #7761E8
analogous
#E8BB61 #D2E861 #8FE861
triadic
#D2E861 #61D2E8 #E861D2
tetradic
#D2E861 #61E8BB #7761E8 #E8618F
square
#D2E861 #61E8BB #7761E8 #E8618F
split-complementary
#D2E861 #618FE8 #BB61E8
monochromatic
#9BB41A #C3E02C #D2E861 #E1F096 #F0F8CC

Accessibility & contrast

On white

1.36
#D2E861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#D2E861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E861
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E861#FFFFFF#000000##000000
##D2E8611.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD52
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#DDDCCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e861;
/* rgb */ color: rgb(210, 232, 97);
/* oklch */ color: oklch(88.9% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#e2ef93',
    500: '#d2e861',
    950: '#000000',
  },
}
SCSS
$custom: #d2e861;
$custom-light: #e2ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e861",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 69.778,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8886,
    "c": 0.16089,
    "h": 117.6
  },
  "luminance": 0.72278
}

Semantic roles & 50–950 ramp

primary
#D2E861
secondary
#4D39B5
accent
#0FD72F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E861

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

Preview Lab → · Contrast checker → · Palette generator →

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