#D4B64A#D4B64A

#D4B64A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.130 H 93.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D4B64A
RGBrgb(212, 182, 74)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 65%, 83%)
CMYKcmyk(0%, 14.2%, 65.1%, 16.9%)
CIE-LABlab(74.79, -1.31, 57.17)
CIE-LCHlch(74.79, 57.18, 91.32°)
OKLaboklab(78.23% -0.0081 0.1298)
OKLCHoklch(78.23% 0.13 93.6)
XYZxyz(45.1175, 47.9498, 13.3560)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B64A #4A68D4
analogous
#D4714A #D4B64A #ADD44A
triadic
#D4B64A #4AD4B6 #B64AD4
tetradic
#D4B64A #4AD471 #4A68D4 #D44AAD
square
#D4B64A #4AD471 #4A68D4 #D44AAD
split-complementary
#D4B64A #4AADD4 #714AD4
monochromatic
#846E1F #B6982B #D4B64A #E0CA7B #EBDEAD

Accessibility & contrast

On white

1.98
#D4B64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D4B64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B64A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B64A#FFFFFF#000000##000000
##D4B64A1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#E4A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b64a;
/* rgb */ color: rgb(212, 182, 74);
/* oklch */ color: oklch(78.2% 0.130 93.6);
Tailwind
colors: {
  custom: {
    50: '#e5cb81',
    500: '#d4b64a',
    950: '#000000',
  },
}
SCSS
$custom: #d4b64a;
$custom-light: #e5cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b64a",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 46.957,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78232,
    "c": 0.13006,
    "h": 93.6
  },
  "luminance": 0.47947
}

Semantic roles & 50–950 ramp

primary
#D4B64A
secondary
#A0ADD9
accent
#66E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B64A

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

Preview Lab → · Contrast checker → · Palette generator →

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