#D3C847#D3C847

#D3C847 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.147 H 104.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D3C847
RGBrgb(211, 200, 71)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 66%, 83%)
CMYKcmyk(0%, 5.2%, 66.4%, 17.3%)
CIE-LABlab(79.39, -11.20, 63.21)
CIE-LCHlch(79.39, 64.20, 100.05°)
OKLaboklab(81.85% -0.0366 0.1422)
OKLCHoklch(81.85% 0.147 104.4)
XYZxyz(48.6575, 55.6142, 14.1316)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C847 #4752D3
analogous
#D38247 #D3C847 #98D347
triadic
#D3C847 #47D3C8 #C847D3
tetradic
#D3C847 #47D382 #4752D3 #D34798
square
#D3C847 #47D382 #4752D3 #D34798
split-complementary
#D3C847 #4798D3 #8247D3
monochromatic
#81791F #B2A82B #D3C847 #DFD778 #EBE6AA

Accessibility & contrast

On white

1.73
#D3C847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D3C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C847
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C847#FFFFFF#000000##000000
##D3C8471.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c847;
/* rgb */ color: rgb(211, 200, 71);
/* oklch */ color: oklch(81.9% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#e4d881',
    500: '#d3c847',
    950: '#000000',
  },
}
SCSS
$custom: #d3c847;
$custom-light: #e4d881;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c847",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 55.286,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81851,
    "c": 0.14679,
    "h": 104.4
  },
  "luminance": 0.55612
}

Semantic roles & 50–950 ramp

primary
#D3C847
secondary
#363D88
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C847

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

Preview Lab → · Contrast checker → · Palette generator →

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