#D2E151#D2E151

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

Color values

HEX#D2E151
RGBrgb(210, 225, 81)
HSLhsl(66, 71%, 60%)
HSVhsv(66, 64%, 88%)
CMYKcmyk(6.7%, 0%, 64%, 11.8%)
CIE-LABlab(86.08, -23.37, 66.15)
CIE-LCHlch(86.08, 70.16, 109.46°)
OKLaboklab(87.2% -0.0698 0.1499)
OKLCHoklch(87.2% 0.165 115)
XYZxyz(54.9901, 68.1470, 18.0399)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E151 #6051E1
analogous
#E1A851 #D2E151 #8AE151
triadic
#D2E151 #51D2E1 #E151D2
tetradic
#D2E151 #51E1A8 #6051E1 #E1518A
square
#D2E151 #51E1A8 #6051E1 #E1518A
split-complementary
#D2E151 #518AE1 #A851E1
monochromatic
#8F9D1B #BFD124 #D2E151 #DFEA85 #EDF3B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E151#FFFFFF#000000##000000
##D2E1511.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)
#F0D63E
Deuteranopia (green-blind)
#EFD95B
Tritanopia (blue-blind)
#DFD5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e151;
/* rgb */ color: rgb(210, 225, 81);
/* oklch */ color: oklch(87.2% 0.165 115.0);
Tailwind
colors: {
  custom: {
    50: '#e3ea89',
    500: '#d2e151',
    950: '#000000',
  },
}
SCSS
$custom: #d2e151;
$custom-light: #e3ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e151",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 66.25,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87196,
    "c": 0.16534,
    "h": 115
  },
  "luminance": 0.68146
}

Semantic roles & 50–950 ramp

primary
#D2E151
secondary
#4136A0
accent
#3AED4D
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E151

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

Preview Lab → · Contrast checker → · Palette generator →

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