#D2E379#D2E379

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

Color values

HEX#D2E379
RGBrgb(210, 227, 121)
HSLhsl(70, 65%, 68%)
HSVhsv(70, 47%, 89%)
CMYKcmyk(7.5%, 0%, 46.7%, 11%)
CIE-LABlab(87.01, -21.12, 49.56)
CIE-LCHlch(87.01, 53.87, 113.08°)
OKLaboklab(88.06% -0.0596 0.1185)
OKLCHoklch(88.06% 0.133 116.7)
XYZxyz(57.4992, 70.0208, 28.5718)
Luminance0.7002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E379 #8A79E3
analogous
#E3BF79 #D2E379 #9DE379
triadic
#D2E379 #79D2E3 #E379D2
tetradic
#D2E379 #79E3BF #8A79E3 #E3799D
square
#D2E379 #79E3BF #8A79E3 #E3799D
split-complementary
#D2E379 #799DE3 #BF79E3
monochromatic
#A3BB27 #C1D846 #D2E379 #E3EEAC #F4F8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E379#FFFFFF#000000##000000
##D2E3791.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)
#F0D970
Deuteranopia (green-blind)
#EEDB7F
Tritanopia (blue-blind)
#DCD9CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e379;
/* rgb */ color: rgb(210, 227, 121);
/* oklch */ color: oklch(88.1% 0.133 116.7);
Tailwind
colors: {
  custom: {
    50: '#e1eba2',
    500: '#d2e379',
    950: '#000000',
  },
}
SCSS
$custom: #d2e379;
$custom-light: #e1eba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e379",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 121
  },
  "hsl": {
    "h": 69.623,
    "s": 65.432,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88063,
    "c": 0.13261,
    "h": 116.7
  },
  "luminance": 0.7002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2E379

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

Preview Lab → · Contrast checker → · Palette generator →

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