#D2E378#D2E378

#D2E378 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.0% C 0.134 H 116.7°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#D2E378
RGBrgb(210, 227, 120)
HSLhsl(70, 66%, 68%)
HSVhsv(70, 47%, 89%)
CMYKcmyk(7.5%, 0%, 47.1%, 11%)
CIE-LABlab(87.00, -21.22, 50.02)
CIE-LCHlch(87.00, 54.33, 112.99°)
OKLaboklab(88.05% -0.0599 0.1194)
OKLCHoklch(88.05% 0.134 116.7)
XYZxyz(57.4382, 69.9964, 28.2505)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E378 #8978E3
analogous
#E3BF78 #D2E378 #9CE378
triadic
#D2E378 #78D2E3 #E378D2
tetradic
#D2E378 #78E3BF #8978E3 #E3789C
square
#D2E378 #78E3BF #8978E3 #E3789C
split-complementary
#D2E378 #789CE3 #BF78E3
monochromatic
#A3BA27 #C1D845 #D2E378 #E3EEAB #F4F8DD

Accessibility & contrast

On white

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

On black

15.00
#D2E378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E378
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E378#FFFFFF#000000##000000
##D2E3781.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96F
Deuteranopia (green-blind)
#EEDB7E
Tritanopia (blue-blind)
#DCD9CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e378;
/* rgb */ color: rgb(210, 227, 120);
/* oklch */ color: oklch(88.0% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#e1eba1',
    500: '#d2e378',
    950: '#000000',
  },
}
SCSS
$custom: #d2e378;
$custom-light: #e1eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e378",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 69.533,
    "s": 65.644,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8805,
    "c": 0.13362,
    "h": 116.7
  },
  "luminance": 0.69996
}

Semantic roles & 50–950 ramp

primary
#D2E378
secondary
#5845BA
accent
#18CD35
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E378

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

Preview Lab → · Contrast checker → · Palette generator →

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