#D2C847#D2C847

#D2C847 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.147 H 104.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D2C847
RGBrgb(210, 200, 71)
HSLhsl(56, 61%, 55%)
HSVhsv(56, 66%, 82%)
CMYKcmyk(0%, 4.8%, 66.2%, 17.6%)
CIE-LABlab(79.31, -11.62, 63.10)
CIE-LCHlch(79.31, 64.16, 100.43°)
OKLaboklab(81.76% -0.0377 0.142)
OKLCHoklch(81.76% 0.147 104.9)
XYZxyz(48.3718, 55.4669, 14.1182)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C847 #4751D2
analogous
#D28247 #D2C847 #97D247
triadic
#D2C847 #47D2C8 #C847D2
tetradic
#D2C847 #47D282 #4751D2 #D24797
square
#D2C847 #47D282 #4751D2 #D24797
split-complementary
#D2C847 #4797D2 #8247D2
monochromatic
#7F791F #B1A72B #D2C847 #DED778 #EAE5A9

Accessibility & contrast

On white

1.74
#D2C847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D2C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C847
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C847#FFFFFF#000000##000000
##D2C8471.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C135
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c847;
/* rgb */ color: rgb(210, 200, 71);
/* oklch */ color: oklch(81.8% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#e3d881',
    500: '#d2c847',
    950: '#000000',
  },
}
SCSS
$custom: #d2c847;
$custom-light: #e3d881;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c847",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 55.683,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81764,
    "c": 0.14688,
    "h": 104.9
  },
  "luminance": 0.55465
}

Semantic roles & 50–950 ramp

primary
#D2C847
secondary
#363C87
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C847

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

Preview Lab → · Contrast checker → · Palette generator →

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