#D2D847#D2D847

#D2D847 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.163 H 111.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#D2D847
RGBrgb(210, 216, 71)
HSLhsl(62, 65%, 56%)
HSVhsv(62, 67%, 85%)
CMYKcmyk(2.8%, 0%, 67.1%, 15.3%)
CIE-LABlab(83.58, -19.59, 67.45)
CIE-LCHlch(83.58, 70.24, 106.19°)
OKLaboklab(85.17% -0.0602 0.1511)
OKLCHoklch(85.17% 0.163 111.7)
XYZxyz(52.2731, 63.2696, 15.4186)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D847 #4D47D8
analogous
#D89647 #D2D847 #8AD847
triadic
#D2D847 #47D2D8 #D847D2
tetradic
#D2D847 #47D896 #4D47D8 #D8478A
square
#D2D847 #47D896 #4D47D8 #D8478A
split-complementary
#D2D847 #478AD8 #9647D8
monochromatic
#83881D #B4BA27 #D2D847 #DEE379 #EBEDAC

Accessibility & contrast

On white

1.54
#D2D847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#D2D847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D847
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D847#FFFFFF#000000##000000
##D2D8471.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE31
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d847;
/* rgb */ color: rgb(210, 216, 71);
/* oklch */ color: oklch(85.2% 0.163 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e382',
    500: '#d2d847',
    950: '#000000',
  },
}
SCSS
$custom: #d2d847;
$custom-light: #e3e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d847",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 62.483,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85174,
    "c": 0.16265,
    "h": 111.7
  },
  "luminance": 0.63268
}

Semantic roles & 50–950 ramp

primary
#D2D847
secondary
#39358E
accent
#40E847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D847

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

Preview Lab → · Contrast checker → · Palette generator →

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