#D4C64A#D4C64A

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

Color values

HEX#D4C64A
RGBrgb(212, 198, 74)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 65%, 83%)
CMYKcmyk(0%, 6.6%, 65.1%, 16.9%)
CIE-LABlab(78.97, -9.59, 61.59)
CIE-LCHlch(78.97, 62.33, 98.85°)
OKLaboklab(81.55% -0.0317 0.1392)
OKLCHoklch(81.55% 0.143 102.9)
XYZxyz(48.5834, 54.8816, 14.5113)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C64A #4A58D4
analogous
#D4814A #D4C64A #9DD44A
triadic
#D4C64A #4AD4C6 #C64AD4
tetradic
#D4C64A #4AD481 #4A58D4 #D44A9D
square
#D4C64A #4AD481 #4A58D4 #D44A9D
split-complementary
#D4C64A #4A9DD4 #814AD4
monochromatic
#847A1F #B6A82B #D4C64A #E0D67B #EBE5AD

Accessibility & contrast

On white

1.75
#D4C64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#D4C64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C64A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C64A#FFFFFF#000000##000000
##D4C64A1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03A
Deuteranopia (green-blind)
#DCC651
Tritanopia (blue-blind)
#E3B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c64a;
/* rgb */ color: rgb(212, 198, 74);
/* oklch */ color: oklch(81.5% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e4d782',
    500: '#d4c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d4c64a;
$custom-light: #e4d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c64a",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 53.913,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81545,
    "c": 0.14275,
    "h": 102.9
  },
  "luminance": 0.5488
}

Semantic roles & 50–950 ramp

primary
#D4C64A
secondary
#37408B
accent
#53E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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