#D3C54D#D3C54D

#D3C54D is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.140 H 102.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D3C54D
RGBrgb(211, 197, 77)
HSLhsl(54, 60%, 56%)
HSVhsv(54, 64%, 83%)
CMYKcmyk(0%, 6.6%, 63.5%, 17.3%)
CIE-LABlab(78.65, -9.32, 59.97)
CIE-LCHlch(78.65, 60.69, 98.83°)
OKLaboklab(81.27% -0.0306 0.1362)
OKLCHoklch(81.27% 0.14 102.7)
XYZxyz(48.1717, 54.3191, 14.9669)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C54D #4D5BD3
analogous
#D3824D #D3C54D #9ED34D
triadic
#D3C54D #4DD3C5 #C54DD3
tetradic
#D3C54D #4DD382 #4D5BD3 #D34D9E
square
#D3C54D #4DD382 #4D5BD3 #D34D9E
split-complementary
#D3C54D #4D9ED3 #824DD3
monochromatic
#857A21 #B6A82D #D3C54D #DFD57E #EBE5AF

Accessibility & contrast

On white

1.77
#D3C54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#D3C54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C54D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C54D#FFFFFF#000000##000000
##D3C54D1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#E2B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c54d;
/* rgb */ color: rgb(211, 197, 77);
/* oklch */ color: oklch(81.3% 0.140 102.7);
Tailwind
colors: {
  custom: {
    50: '#e4d684',
    500: '#d3c54d',
    950: '#000000',
  },
}
SCSS
$custom: #d3c54d;
$custom-light: #e4d684;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c54d",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 53.731,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81273,
    "c": 0.13962,
    "h": 102.7
  },
  "luminance": 0.54317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C54D

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

Preview Lab → · Contrast checker → · Palette generator →

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