#D2E751#D2E751

#D2E751 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.5% C 0.172 H 116.9°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#D2E751
RGBrgb(210, 231, 81)
HSLhsl(68, 76%, 61%)
HSVhsv(68, 65%, 91%)
CMYKcmyk(9.1%, 0%, 64.9%, 9.4%)
CIE-LABlab(87.70, -26.23, 67.84)
CIE-LCHlch(87.70, 72.74, 111.14°)
OKLaboklab(88.5% -0.0778 0.1535)
OKLCHoklch(88.5% 0.172 116.9)
XYZxyz(56.6407, 71.4482, 18.5901)
Luminance0.7145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E751 #6651E7
analogous
#E7B151 #D2E751 #87E751
triadic
#D2E751 #51D2E7 #E751D2
tetradic
#D2E751 #51E7B1 #6651E7 #E75187
square
#D2E751 #51E7B1 #6651E7 #E75187
split-complementary
#D2E751 #5187E7 #B151E7
monochromatic
#93A717 #C2DC1E #D2E751 #E0EE87 #EEF6BD

Accessibility & contrast

On white

1.37
#D2E751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#D2E751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E751
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E751#FFFFFF#000000##000000
##D2E7511.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3C
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#DEDBC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e751;
/* rgb */ color: rgb(210, 231, 81);
/* oklch */ color: oklch(88.5% 0.172 116.9);
Tailwind
colors: {
  custom: {
    50: '#e3ee89',
    500: '#d2e751',
    950: '#000000',
  },
}
SCSS
$custom: #d2e751;
$custom-light: #e3ee89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e751",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 68.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88497,
    "c": 0.17204,
    "h": 116.9
  },
  "luminance": 0.71448
}

Semantic roles & 50–950 ramp

primary
#D2E751
secondary
#4434A8
accent
#0ED82A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E751

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

Preview Lab → · Contrast checker → · Palette generator →

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