#D4B94D#D4B94D

#D4B94D is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.130 H 95.2°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D4B94D
RGBrgb(212, 185, 77)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 64%, 83%)
CMYKcmyk(0%, 12.7%, 63.7%, 16.9%)
CIE-LABlab(75.60, -2.70, 56.72)
CIE-LCHlch(75.60, 56.78, 92.72°)
OKLaboklab(78.88% -0.0117 0.1293)
OKLCHoklch(78.88% 0.13 95.2)
XYZxyz(45.8420, 49.2331, 14.1080)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B94D #4D68D4
analogous
#D4764D #D4B94D #ACD44D
triadic
#D4B94D #4DD4B9 #B94DD4
tetradic
#D4B94D #4DD476 #4D68D4 #D44DAC
square
#D4B94D #4DD476 #4D68D4 #D44DAC
split-complementary
#D4B94D #4DACD4 #764DD4
monochromatic
#867220 #B79C2C #D4B94D #E0CC7E #ECE0B0

Accessibility & contrast

On white

1.94
#D4B94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#D4B94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B94D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B94D#FFFFFF#000000##000000
##D4B94D1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB541
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#E4ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b94d;
/* rgb */ color: rgb(212, 185, 77);
/* oklch */ color: oklch(78.9% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#e4cd83',
    500: '#d4b94d',
    950: '#000000',
  },
}
SCSS
$custom: #d4b94d;
$custom-light: #e4cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b94d",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 48,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78875,
    "c": 0.12984,
    "h": 95.2
  },
  "luminance": 0.49231
}

Semantic roles & 50–950 ramp

primary
#D4B94D
secondary
#A3AEDA
accent
#64E444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B94D

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

Preview Lab → · Contrast checker → · Palette generator →

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