#D2E54D#D2E54D

#D2E54D is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.0% C 0.173 H 116.2°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#D2E54D
RGBrgb(210, 229, 77)
HSLhsl(68, 75%, 60%)
HSVhsv(68, 66%, 90%)
CMYKcmyk(8.3%, 0%, 66.4%, 10.2%)
CIE-LABlab(87.13, -25.52, 68.79)
CIE-LCHlch(87.13, 73.37, 110.36°)
OKLaboklab(88.03% -0.0762 0.1549)
OKLCHoklch(88.03% 0.173 116.2)
XYZxyz(55.9385, 70.2769, 17.6377)
Luminance0.7028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E54D #604DE5
analogous
#E5AC4D #D2E54D #86E54D
triadic
#D2E54D #4DD2E5 #E54DD2
tetradic
#D2E54D #4DE5AC #604DE5 #E54D86
square
#D2E54D #4DE5AC #604DE5 #E54D86
split-complementary
#D2E54D #4D86E5 #AC4DE5
monochromatic
#8FA017 #BFD61F #D2E54D #E0ED82 #EDF5B8

Accessibility & contrast

On white

1.39
#D2E54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#D2E54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E54D
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E54D#FFFFFF#000000##000000
##D2E54D1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D937
Deuteranopia (green-blind)
#F3DB58
Tritanopia (blue-blind)
#DFD8C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e54d;
/* rgb */ color: rgb(210, 229, 77);
/* oklch */ color: oklch(88.0% 0.173 116.2);
Tailwind
colors: {
  custom: {
    50: '#e3ed87',
    500: '#d2e54d',
    950: '#000000',
  },
}
SCSS
$custom: #d2e54d;
$custom-light: #e3ed87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e54d",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 77
  },
  "hsl": {
    "h": 67.5,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.8803,
    "c": 0.17259,
    "h": 116.2
  },
  "luminance": 0.70276
}

Semantic roles & 50–950 ramp

primary
#D2E54D
secondary
#4133A3
accent
#37F14E
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E54D

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

Preview Lab → · Contrast checker → · Palette generator →

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