#D3C64D#D3C64D

#D3C64D is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.141 H 103.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D3C64D
RGBrgb(211, 198, 77)
HSLhsl(54, 60%, 56%)
HSVhsv(54, 64%, 83%)
CMYKcmyk(0%, 6.2%, 63.5%, 17.3%)
CIE-LABlab(78.91, -9.83, 60.25)
CIE-LCHlch(78.91, 61.04, 99.26°)
OKLaboklab(81.48% -0.032 0.1368)
OKLCHoklch(81.48% 0.141 103.2)
XYZxyz(48.3995, 54.7747, 15.0429)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C64D #4D5AD3
analogous
#D3834D #D3C64D #9DD34D
triadic
#D3C64D #4DD3C6 #C64DD3
tetradic
#D3C64D #4DD383 #4D5AD3 #D34D9D
square
#D3C64D #4DD383 #4D5AD3 #D34D9D
split-complementary
#D3C64D #4D9DD3 #834DD3
monochromatic
#857B21 #B6A92D #D3C64D #DFD67E #EBE5AF

Accessibility & contrast

On white

1.76
#D3C64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D3C64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C64D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C64D#FFFFFF#000000##000000
##D3C64D1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03E
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#E2B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c64d;
/* rgb */ color: rgb(211, 198, 77);
/* oklch */ color: oklch(81.5% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#e4d784',
    500: '#d3c64d',
    950: '#000000',
  },
}
SCSS
$custom: #d3c64d;
$custom-light: #e4d784;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c64d",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 54.179,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.14052,
    "h": 103.2
  },
  "luminance": 0.54773
}

Semantic roles & 50–950 ramp

primary
#D3C64D
secondary
#39418C
accent
#54E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C64D

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

Preview Lab → · Contrast checker → · Palette generator →

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