#D2E845#D2E845

#D2E845 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 88.6% C 0.181 H 117.0°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#D2E845
RGBrgb(210, 232, 69)
HSLhsl(68, 78%, 59%)
HSVhsv(68, 70%, 91%)
CMYKcmyk(9.5%, 0%, 70.3%, 9%)
CIE-LABlab(87.89, -27.38, 72.46)
CIE-LCHlch(87.89, 77.46, 110.70°)
OKLaboklab(88.63% -0.0821 0.1614)
OKLCHoklch(88.63% 0.181 117)
XYZxyz(56.5105, 71.8452, 16.5196)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E845 #5B45E8
analogous
#E8AD45 #D2E845 #81E845
triadic
#D2E845 #45D2E8 #E845D2
tetradic
#D2E845 #45E8AD #5B45E8 #E84581
square
#D2E845 #45E8AD #5B45E8 #E84581
split-complementary
#D2E845 #4581E8 #AD45E8
monochromatic
#8C9F14 #BCD51A #D2E845 #DFEF7B #ECF5B2

Accessibility & contrast

On white

1.37
#D2E845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#D2E845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E845
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E845#FFFFFF#000000##000000
##D2E8451.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC28
Deuteranopia (green-blind)
#F6DD52
Tritanopia (blue-blind)
#DFDBC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e845;
/* rgb */ color: rgb(210, 232, 69);
/* oklch */ color: oklch(88.6% 0.181 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ef83',
    500: '#d2e845',
    950: '#000000',
  },
}
SCSS
$custom: #d2e845;
$custom-light: #e3ef83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e845",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 69
  },
  "hsl": {
    "h": 68.098,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.88626,
    "c": 0.18102,
    "h": 117
  },
  "luminance": 0.71845
}

Semantic roles & 50–950 ramp

primary
#D2E845
secondary
#3F2FA2
accent
#33F44D
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #D2E845

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

Preview Lab → · Contrast checker → · Palette generator →

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