#D2E54B#D2E54B

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

Color values

HEX#D2E54B
RGBrgb(210, 229, 75)
HSLhsl(67, 75%, 60%)
HSVhsv(67, 67%, 90%)
CMYKcmyk(8.3%, 0%, 67.2%, 10.2%)
CIE-LABlab(87.12, -25.64, 69.53)
CIE-LCHlch(87.12, 74.10, 110.24°)
OKLaboklab(88.02% -0.0767 0.1561)
OKLCHoklch(88.02% 0.174 116.2)
XYZxyz(55.8690, 70.2490, 17.2715)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E54B #5E4BE5
analogous
#E5AB4B #D2E54B #85E54B
triadic
#D2E54B #4BD2E5 #E54BD2
tetradic
#D2E54B #4BE5AB #5E4BE5 #E54B85
square
#D2E54B #4BE5AB #5E4BE5 #E54B85
split-complementary
#D2E54B #4B85E5 #AB4BE5
monochromatic
#8E9F17 #BED41F #D2E54B #DFED80 #EDF4B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E54B#FFFFFF#000000##000000
##D2E54B1.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)
#F4D934
Deuteranopia (green-blind)
#F3DB57
Tritanopia (blue-blind)
#DFD8C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e54b;
/* rgb */ color: rgb(210, 229, 75);
/* oklch */ color: oklch(88.0% 0.174 116.2);
Tailwind
colors: {
  custom: {
    50: '#e3ed86',
    500: '#d2e54b',
    950: '#000000',
  },
}
SCSS
$custom: #d2e54b;
$custom-light: #e3ed86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e54b",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 75
  },
  "hsl": {
    "h": 67.403,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.88015,
    "c": 0.17393,
    "h": 116.2
  },
  "luminance": 0.70248
}

Semantic roles & 50–950 ramp

primary
#D2E54B
secondary
#4033A2
accent
#36F14D
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E54B

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

Preview Lab → · Contrast checker → · Palette generator →

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