#D3C845#D3C845

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

Color values

HEX#D3C845
RGBrgb(211, 200, 69)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 67%, 83%)
CMYKcmyk(0%, 5.2%, 67.3%, 17.3%)
CIE-LABlab(79.38, -11.31, 63.99)
CIE-LCHlch(79.38, 64.98, 100.02°)
OKLaboklab(81.84% -0.0371 0.1435)
OKLCHoklch(81.84% 0.148 104.5)
XYZxyz(48.5943, 55.5889, 13.7991)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C845 #4550D3
analogous
#D38145 #D3C845 #97D345
triadic
#D3C845 #45D3C8 #C845D3
tetradic
#D3C845 #45D381 #4550D3 #D34597
square
#D3C845 #45D381 #4550D3 #D34597
split-complementary
#D3C845 #4597D3 #8145D3
monochromatic
#7F781E #B1A62A #D3C845 #DFD776 #EAE5A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C845#FFFFFF#000000##000000
##D3C8451.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)
#D9C132
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#E2BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c845;
/* rgb */ color: rgb(211, 200, 69);
/* oklch */ color: oklch(81.8% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#e4d880',
    500: '#d3c845',
    950: '#000000',
  },
}
SCSS
$custom: #d3c845;
$custom-light: #e4d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c845",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 55.352,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81835,
    "c": 0.14819,
    "h": 104.5
  },
  "luminance": 0.55587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C845

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

Preview Lab → · Contrast checker → · Palette generator →

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