#D3C64A#D3C64A

#D3C64A is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.143 H 103.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D3C64A
RGBrgb(211, 198, 74)
HSLhsl(54, 61%, 56%)
HSVhsv(54, 65%, 83%)
CMYKcmyk(0%, 6.2%, 64.9%, 17.3%)
CIE-LABlab(78.89, -10.01, 61.47)
CIE-LCHlch(78.89, 62.28, 99.25°)
OKLaboklab(81.46% -0.0329 0.139)
OKLCHoklch(81.46% 0.143 103.3)
XYZxyz(48.2960, 54.7333, 14.4978)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C64A #4A57D3
analogous
#D3814A #D3C64A #9BD34A
triadic
#D3C64A #4AD3C6 #C64AD3
tetradic
#D3C64A #4AD381 #4A57D3 #D34A9B
square
#D3C64A #4AD381 #4A57D3 #D34A9B
split-complementary
#D3C64A #4A9BD3 #814AD3
monochromatic
#837920 #B4A72C #D3C64A #DFD67B #EBE5AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C64A#FFFFFF#000000##000000
##D3C64A1.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)
#D7C03A
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#E2B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c64a;
/* rgb */ color: rgb(211, 198, 74);
/* oklch */ color: oklch(81.5% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e4d782',
    500: '#d3c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c64a;
$custom-light: #e4d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c64a",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 54.307,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81456,
    "c": 0.14279,
    "h": 103.3
  },
  "luminance": 0.54731
}

Semantic roles & 50–950 ramp

primary
#D3C64A
secondary
#373F8A
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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