#D3C84A#D3C84A

#D3C84A is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.145 H 104.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D3C84A
RGBrgb(211, 200, 74)
HSLhsl(55, 61%, 56%)
HSVhsv(55, 65%, 83%)
CMYKcmyk(0%, 5.2%, 64.9%, 17.3%)
CIE-LABlab(79.42, -11.03, 62.02)
CIE-LCHlch(79.42, 63.00, 100.08°)
OKLaboklab(81.88% -0.0358 0.1401)
OKLCHoklch(81.88% 0.145 104.3)
XYZxyz(48.7561, 55.6537, 14.6512)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C84A #4A55D3
analogous
#D3834A #D3C84A #9AD34A
triadic
#D3C84A #4AD3C8 #C84AD3
tetradic
#D3C84A #4AD383 #4A55D3 #D34A9A
square
#D3C84A #4AD383 #4A55D3 #D34A9A
split-complementary
#D3C84A #4A9AD3 #834AD3
monochromatic
#837B20 #B4A92C #D3C84A #DFD77B #EBE6AC

Accessibility & contrast

On white

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

On black

12.13
#D3C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C84A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C84A#FFFFFF#000000##000000
##D3C84A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c84a;
/* rgb */ color: rgb(211, 200, 74);
/* oklch */ color: oklch(81.9% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e4d883',
    500: '#d3c84a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c84a;
$custom-light: #e4d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c84a",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 55.182,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81877,
    "c": 0.14461,
    "h": 104.3
  },
  "luminance": 0.55652
}

Semantic roles & 50–950 ramp

primary
#D3C84A
secondary
#373E8A
accent
#51E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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