#D3C64C#D3C64C

#D3C64C 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#D3C64C
RGBrgb(211, 198, 76)
HSLhsl(54, 61%, 56%)
HSVhsv(54, 64%, 83%)
CMYKcmyk(0%, 6.2%, 64%, 17.3%)
CIE-LABlab(78.90, -9.89, 60.66)
CIE-LCHlch(78.90, 61.46, 99.26°)
OKLaboklab(81.47% -0.0323 0.1375)
OKLCHoklch(81.47% 0.141 103.2)
XYZxyz(48.3644, 54.7607, 14.8584)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C64C #4C59D3
analogous
#D3834C #D3C64C #9DD34C
triadic
#D3C64C #4CD3C6 #C64CD3
tetradic
#D3C64C #4CD383 #4C59D3 #D34C9D
square
#D3C64C #4CD383 #4C59D3 #D34C9D
split-complementary
#D3C64C #4C9DD3 #834CD3
monochromatic
#847B20 #B5A82D #D3C64C #DFD67D #EBE5AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C64C#FFFFFF#000000##000000
##D3C64C1.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)
#D7C03D
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#E2B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c64c;
/* rgb */ color: rgb(211, 198, 76);
/* oklch */ color: oklch(81.5% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#e4d784',
    500: '#d3c64c',
    950: '#000000',
  },
}
SCSS
$custom: #d3c64c;
$custom-light: #e4d784;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c64c",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 54.222,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81474,
    "c": 0.14129,
    "h": 103.2
  },
  "luminance": 0.54759
}

Semantic roles & 50–950 ramp

primary
#D3C64C
secondary
#38408B
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C64C

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

Preview Lab → · Contrast checker → · Palette generator →

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