#D3C846#D3C846

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

Color values

HEX#D3C846
RGBrgb(211, 200, 70)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 67%, 83%)
CMYKcmyk(0%, 5.2%, 66.8%, 17.3%)
CIE-LABlab(79.39, -11.25, 63.60)
CIE-LCHlch(79.39, 64.59, 100.03°)
OKLaboklab(81.84% -0.0368 0.1428)
OKLCHoklch(81.84% 0.148 104.5)
XYZxyz(48.6256, 55.6015, 13.9640)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C846 #4651D3
analogous
#D38146 #D3C846 #98D346
triadic
#D3C846 #46D3C8 #C846D3
tetradic
#D3C846 #46D381 #4651D3 #D34698
square
#D3C846 #46D381 #4651D3 #D34698
split-complementary
#D3C846 #4698D3 #8146D3
monochromatic
#80791E #B2A72A #D3C846 #DFD777 #EBE5A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C846#FFFFFF#000000##000000
##D3C8461.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)
#D9C134
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#E2BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c846;
/* rgb */ color: rgb(211, 200, 70);
/* oklch */ color: oklch(81.8% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#e4d880',
    500: '#d3c846',
    950: '#000000',
  },
}
SCSS
$custom: #d3c846;
$custom-light: #e4d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c846",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 55.319,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81843,
    "c": 0.1475,
    "h": 104.5
  },
  "luminance": 0.556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C846

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

Preview Lab → · Contrast checker → · Palette generator →

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