#D2E851#D2E851

#D2E851 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 88.7% C 0.173 H 117.2°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#D2E851
RGBrgb(210, 232, 81)
HSLhsl(69, 77%, 61%)
HSVhsv(69, 65%, 91%)
CMYKcmyk(9.5%, 0%, 65.1%, 9%)
CIE-LABlab(87.97, -26.71, 68.13)
CIE-LCHlch(87.97, 73.17, 111.41°)
OKLaboklab(88.71% -0.0791 0.1541)
OKLCHoklch(88.71% 0.173 117.2)
XYZxyz(56.9213, 72.0096, 18.6836)
Luminance0.7201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E851 #6751E8
analogous
#E8B351 #D2E851 #87E851
triadic
#D2E851 #51D2E8 #E851D2
tetradic
#D2E851 #51E8B3 #6751E8 #E85187
square
#D2E851 #51E8B3 #6751E8 #E85187
split-complementary
#D2E851 #5187E8 #B351E8
monochromatic
#93A816 #C2DE1D #D2E851 #E0EF87 #EEF6BD

Accessibility & contrast

On white

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

On black

15.40
#D2E851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E851
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E851#FFFFFF#000000##000000
##D2E8511.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F5DE5C
Tritanopia (blue-blind)
#DEDCC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e851;
/* rgb */ color: rgb(210, 232, 81);
/* oklch */ color: oklch(88.7% 0.173 117.2);
Tailwind
colors: {
  custom: {
    50: '#e3ef89',
    500: '#d2e851',
    950: '#000000',
  },
}
SCSS
$custom: #d2e851;
$custom-light: #e3ef89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e851",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 81
  },
  "hsl": {
    "h": 68.742,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88714,
    "c": 0.17318,
    "h": 117.2
  },
  "luminance": 0.72009
}

Semantic roles & 50–950 ramp

primary
#D2E851
secondary
#4533AA
accent
#0DD92A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E851

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

Preview Lab → · Contrast checker → · Palette generator →

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