#D2E54C#D2E54C

#D2E54C 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.05:1 contrast (WCAG AA passes).

Color values

HEX#D2E54C
RGBrgb(210, 229, 76)
HSLhsl(67, 75%, 60%)
HSVhsv(67, 67%, 90%)
CMYKcmyk(8.3%, 0%, 66.8%, 10.2%)
CIE-LABlab(87.13, -25.58, 69.16)
CIE-LCHlch(87.13, 73.74, 110.30°)
OKLaboklab(88.02% -0.0764 0.1555)
OKLCHoklch(88.02% 0.173 116.2)
XYZxyz(55.9035, 70.2628, 17.4532)
Luminance0.7026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E54C #5F4CE5
analogous
#E5AC4C #D2E54C #86E54C
triadic
#D2E54C #4CD2E5 #E54CD2
tetradic
#D2E54C #4CE5AC #5F4CE5 #E54C86
square
#D2E54C #4CE5AC #5F4CE5 #E54C86
split-complementary
#D2E54C #4C86E5 #AC4CE5
monochromatic
#8F9F17 #BED51F #D2E54C #DFED81 #EDF5B7

Accessibility & contrast

On white

1.40
#D2E54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#D2E54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E54C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E54C#FFFFFF#000000##000000
##D2E54C1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e54c;
/* rgb */ color: rgb(210, 229, 76);
/* oklch */ color: oklch(88.0% 0.173 116.2);
Tailwind
colors: {
  custom: {
    50: '#e3ed86',
    500: '#d2e54c',
    950: '#000000',
  },
}
SCSS
$custom: #d2e54c;
$custom-light: #e3ed86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e54c",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 76
  },
  "hsl": {
    "h": 67.451,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.88023,
    "c": 0.17326,
    "h": 116.2
  },
  "luminance": 0.70262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2E54C

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

Preview Lab → · Contrast checker → · Palette generator →

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