#D2E054#D2E054

#D2E054 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.0% C 0.162 H 114.7°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#D2E054
RGBrgb(210, 224, 84)
HSLhsl(66, 69%, 60%)
HSVhsv(66, 63%, 88%)
CMYKcmyk(6.3%, 0%, 62.5%, 12.2%)
CIE-LABlab(85.83, -22.70, 64.69)
CIE-LCHlch(85.83, 68.56, 109.33°)
OKLaboklab(87.01% -0.0676 0.1472)
OKLCHoklch(87.01% 0.162 114.7)
XYZxyz(54.8355, 67.6540, 18.5556)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E054 #6254E0
analogous
#E0A854 #D2E054 #8CE054
triadic
#D2E054 #54D2E0 #E054D2
tetradic
#D2E054 #54E0A8 #6254E0 #E0548C
square
#D2E054 #54E0A8 #6254E0 #E0548C
split-complementary
#D2E054 #548CE0 #A854E0
monochromatic
#909D1C #C0D126 #D2E054 #E0E988 #EDF3BC

Accessibility & contrast

On white

1.45
#D2E054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#D2E054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E054
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E054#FFFFFF#000000##000000
##D2E0541.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD542
Deuteranopia (green-blind)
#EED85D
Tritanopia (blue-blind)
#DFD4C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e054;
/* rgb */ color: rgb(210, 224, 84);
/* oklch */ color: oklch(87.0% 0.162 114.7);
Tailwind
colors: {
  custom: {
    50: '#e3e98a',
    500: '#d2e054',
    950: '#000000',
  },
}
SCSS
$custom: #d2e054;
$custom-light: #e3e98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e054",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 84
  },
  "hsl": {
    "h": 66,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87005,
    "c": 0.16201,
    "h": 114.7
  },
  "luminance": 0.67653
}

Semantic roles & 50–950 ramp

primary
#D2E054
secondary
#4238A1
accent
#14D127
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E054

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

Preview Lab → · Contrast checker → · Palette generator →

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