#D3C54A#D3C54A

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

Color values

HEX#D3C54A
RGBrgb(211, 197, 74)
HSLhsl(54, 61%, 56%)
HSVhsv(54, 65%, 83%)
CMYKcmyk(0%, 6.6%, 64.9%, 17.3%)
CIE-LABlab(78.62, -9.50, 61.19)
CIE-LCHlch(78.62, 61.93, 98.82°)
OKLaboklab(81.25% -0.0314 0.1384)
OKLCHoklch(81.25% 0.142 102.8)
XYZxyz(48.0682, 54.2777, 14.4219)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C54A #4A58D3
analogous
#D3804A #D3C54A #9CD34A
triadic
#D3C54A #4AD3C5 #C54AD3
tetradic
#D3C54A #4AD380 #4A58D3 #D34A9C
square
#D3C54A #4AD380 #4A58D3 #D34A9C
split-complementary
#D3C54A #4A9CD3 #804AD3
monochromatic
#837920 #B4A62C #D3C54A #DFD57B #EBE5AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C54A#FFFFFF#000000##000000
##D3C54A1.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)
#D6BF3A
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#E2B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c54a;
/* rgb */ color: rgb(211, 197, 74);
/* oklch */ color: oklch(81.2% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4d682',
    500: '#d3c54a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c54a;
$custom-light: #e4d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c54a",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 53.869,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81246,
    "c": 0.1419,
    "h": 102.8
  },
  "luminance": 0.54276
}

Semantic roles & 50–950 ramp

primary
#D3C54A
secondary
#37408A
accent
#54E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C54A

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

Preview Lab → · Contrast checker → · Palette generator →

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