#D3C54F#D3C54F

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

Color values

HEX#D3C54F
RGBrgb(211, 197, 79)
HSLhsl(54, 60%, 57%)
HSVhsv(54, 63%, 83%)
CMYKcmyk(0%, 6.6%, 62.6%, 17.3%)
CIE-LABlab(78.66, -9.19, 59.14)
CIE-LCHlch(78.66, 59.85, 98.83°)
OKLaboklab(81.29% -0.03 0.1348)
OKLCHoklch(81.29% 0.138 102.6)
XYZxyz(48.2434, 54.3478, 15.3446)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C54F #4F5DD3
analogous
#D3834F #D3C54F #9FD34F
triadic
#D3C54F #4FD3C5 #C54FD3
tetradic
#D3C54F #4FD383 #4F5DD3 #D34F9F
square
#D3C54F #4FD383 #4F5DD3 #D34F9F
split-complementary
#D3C54F #4F9FD3 #834FD3
monochromatic
#867B22 #B7A82E #D3C54F #DFD580 #EBE5B1

Accessibility & contrast

On white

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

On black

11.87
#D3C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C54F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C54F#FFFFFF#000000##000000
##D3C54F1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c54f;
/* rgb */ color: rgb(211, 197, 79);
/* oklch */ color: oklch(81.3% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#e4d685',
    500: '#d3c54f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c54f;
$custom-light: #e4d685;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c54f",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 53.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81292,
    "c": 0.13806,
    "h": 102.6
  },
  "luminance": 0.54346
}

Semantic roles & 50–950 ramp

primary
#D3C54F
secondary
#39428D
accent
#55E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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