#D4BB4C#D4BB4C

#D4BB4C is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.132 H 96.5°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D4BB4C
RGBrgb(212, 187, 76)
HSLhsl(49, 61%, 56%)
HSVhsv(49, 64%, 83%)
CMYKcmyk(0%, 11.8%, 64.2%, 16.9%)
CIE-LABlab(76.11, -3.80, 57.71)
CIE-LCHlch(76.11, 57.83, 93.77°)
OKLaboklab(79.28% -0.015 0.1313)
OKLCHoklch(79.28% 0.132 96.5)
XYZxyz(46.2283, 50.0617, 14.0640)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB4C #4C65D4
analogous
#D4774C #D4BB4C #A9D44C
triadic
#D4BB4C #4CD4BB #BB4CD4
tetradic
#D4BB4C #4CD477 #4C65D4 #D44CA9
square
#D4BB4C #4CD477 #4C65D4 #D44CA9
split-complementary
#D4BB4C #4CA9D4 #774CD4
monochromatic
#867320 #B79D2C #D4BB4C #E0CE7D #ECE0AF

Accessibility & contrast

On white

1.91
#D4BB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D4BB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB4C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB4C#FFFFFF#000000##000000
##D4BB4C1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73F
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#E4AEA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bb4c;
/* rgb */ color: rgb(212, 187, 76);
/* oklch */ color: oklch(79.3% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#e4cf83',
    500: '#d4bb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb4c;
$custom-light: #e4cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb4c",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 76
  },
  "hsl": {
    "h": 48.971,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79277,
    "c": 0.13212,
    "h": 96.5
  },
  "luminance": 0.50059
}

Semantic roles & 50–950 ramp

primary
#D4BB4C
secondary
#38478C
accent
#61E443
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D4BB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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