#D2E154#D2E154

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

Color values

HEX#D2E154
RGBrgb(210, 225, 84)
HSLhsl(66, 70%, 61%)
HSVhsv(66, 63%, 88%)
CMYKcmyk(6.7%, 0%, 62.7%, 11.8%)
CIE-LABlab(86.10, -23.18, 64.98)
CIE-LCHlch(86.10, 68.99, 109.63°)
OKLaboklab(87.22% -0.0689 0.1478)
OKLCHoklch(87.22% 0.163 115)
XYZxyz(55.1051, 68.1930, 18.6455)
Luminance0.6819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E154 #6354E1
analogous
#E1A954 #D2E154 #8BE154
triadic
#D2E154 #54D2E1 #E154D2
tetradic
#D2E154 #54E1A9 #6354E1 #E1548B
square
#D2E154 #54E1A9 #6354E1 #E1548B
split-complementary
#D2E154 #548BE1 #A954E1
monochromatic
#919F1C #C0D325 #D2E154 #E0EA88 #EDF3BC

Accessibility & contrast

On white

1.43
#D2E154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#D2E154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E154
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E154#FFFFFF#000000##000000
##D2E1541.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D642
Deuteranopia (green-blind)
#EFD95D
Tritanopia (blue-blind)
#DFD5C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e154;
/* rgb */ color: rgb(210, 225, 84);
/* oklch */ color: oklch(87.2% 0.163 115.0);
Tailwind
colors: {
  custom: {
    50: '#e3ea8a',
    500: '#d2e154',
    950: '#000000',
  },
}
SCSS
$custom: #d2e154;
$custom-light: #e3ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e154",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 66.383,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87221,
    "c": 0.16312,
    "h": 115
  },
  "luminance": 0.68192
}

Semantic roles & 50–950 ramp

primary
#D2E154
secondary
#4337A2
accent
#13D228
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E154

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

Preview Lab → · Contrast checker → · Palette generator →

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