#D2E147#D2E147

#D2E147 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.1% C 0.172 H 114.8°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D2E147
RGBrgb(210, 225, 71)
HSLhsl(66, 72%, 58%)
HSVhsv(66, 68%, 88%)
CMYKcmyk(6.7%, 0%, 68.4%, 11.8%)
CIE-LABlab(86.01, -23.95, 69.88)
CIE-LCHlch(86.01, 73.87, 108.92°)
OKLaboklab(87.12% -0.0723 0.1563)
OKLCHoklch(87.12% 0.172 114.8)
XYZxyz(54.6423, 68.0079, 16.2084)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E147 #5647E1
analogous
#E1A347 #D2E147 #85E147
triadic
#D2E147 #47D2E1 #E147D2
tetradic
#D2E147 #47E1A3 #5647E1 #E14785
square
#D2E147 #47E1A3 #5647E1 #E14785
split-complementary
#D2E147 #4785E1 #A347E1
monochromatic
#899518 #B9CA21 #D2E147 #DFEA7C #ECF2B0

Accessibility & contrast

On white

1.44
#D2E147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D2E147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E147
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E147#FFFFFF#000000##000000
##D2E1471.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e147;
/* rgb */ color: rgb(210, 225, 71);
/* oklch */ color: oklch(87.1% 0.172 114.8);
Tailwind
colors: {
  custom: {
    50: '#e3ea83',
    500: '#d2e147',
    950: '#000000',
  },
}
SCSS
$custom: #d2e147;
$custom-light: #e3ea83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e147",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 71
  },
  "hsl": {
    "h": 65.844,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.87118,
    "c": 0.17218,
    "h": 114.8
  },
  "luminance": 0.68007
}

Semantic roles & 50–950 ramp

primary
#D2E147
secondary
#3D339A
accent
#39EF4B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E147

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

Preview Lab → · Contrast checker → · Palette generator →

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