#D2E051#D2E051

#D2E051 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.0% C 0.164 H 114.6°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#D2E051
RGBrgb(210, 224, 81)
HSLhsl(66, 70%, 60%)
HSVhsv(66, 64%, 88%)
CMYKcmyk(6.3%, 0%, 63.8%, 12.2%)
CIE-LABlab(85.81, -22.89, 65.87)
CIE-LCHlch(85.81, 69.73, 109.16°)
OKLaboklab(86.98% -0.0684 0.1493)
OKLCHoklch(86.98% 0.164 114.6)
XYZxyz(54.7205, 67.6080, 17.9500)
Luminance0.6761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E051 #5F51E0
analogous
#E0A651 #D2E051 #8BE051
triadic
#D2E051 #51D2E0 #E051D2
tetradic
#D2E051 #51E0A6 #5F51E0 #E0518B
square
#D2E051 #51E0A6 #5F51E0 #E0518B
split-complementary
#D2E051 #518BE0 #A651E0
monochromatic
#8F9B1C #BECF25 #D2E051 #DFE985 #EDF3B9

Accessibility & contrast

On white

1.45
#D2E051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#D2E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E051
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E051#FFFFFF#000000##000000
##D2E0511.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#DFD4C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e051;
/* rgb */ color: rgb(210, 224, 81);
/* oklch */ color: oklch(87.0% 0.164 114.6);
Tailwind
colors: {
  custom: {
    50: '#e3e989',
    500: '#d2e051',
    950: '#000000',
  },
}
SCSS
$custom: #d2e051;
$custom-light: #e3e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e051",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 65.874,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86979,
    "c": 0.16423,
    "h": 114.6
  },
  "luminance": 0.67607
}

Semantic roles & 50–950 ramp

primary
#D2E051
secondary
#41379F
accent
#3BED4D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E051

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

Preview Lab → · Contrast checker → · Palette generator →

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