#D3C54B#D3C54B

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

Color values

HEX#D3C54B
RGBrgb(211, 197, 75)
HSLhsl(54, 61%, 56%)
HSVhsv(54, 64%, 83%)
CMYKcmyk(0%, 6.6%, 64.5%, 17.3%)
CIE-LABlab(78.63, -9.44, 60.79)
CIE-LCHlch(78.63, 61.52, 98.83°)
OKLaboklab(81.26% -0.0312 0.1377)
OKLCHoklch(81.26% 0.141 102.8)
XYZxyz(48.1021, 54.2913, 14.6007)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C54B #4B59D3
analogous
#D3814B #D3C54B #9DD34B
triadic
#D3C54B #4BD3C5 #C54BD3
tetradic
#D3C54B #4BD381 #4B59D3 #D34B9D
square
#D3C54B #4BD381 #4B59D3 #D34B9D
split-complementary
#D3C54B #4B9DD3 #814BD3
monochromatic
#837920 #B5A72C #D3C54B #DFD57C #EBE5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C54B#FFFFFF#000000##000000
##D3C54B1.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)
#D6BF3C
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#E2B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c54b;
/* rgb */ color: rgb(211, 197, 75);
/* oklch */ color: oklch(81.3% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4d683',
    500: '#d3c54b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c54b;
$custom-light: #e4d683;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c54b",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 75
  },
  "hsl": {
    "h": 53.824,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81255,
    "c": 0.14114,
    "h": 102.8
  },
  "luminance": 0.54289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C54B

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

Preview Lab → · Contrast checker → · Palette generator →

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