#D4BB3F#D4BB3F

#D4BB3F is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.141 H 97.5°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D4BB3F
RGBrgb(212, 187, 63)
HSLhsl(50, 63%, 54%)
HSVhsv(50, 70%, 83%)
CMYKcmyk(0%, 11.8%, 70.3%, 16.9%)
CIE-LABlab(76.01, -4.53, 62.96)
CIE-LCHlch(76.01, 63.12, 94.11°)
OKLaboklab(79.17% -0.0186 0.1402)
OKLCHoklch(79.17% 0.141 97.5)
XYZxyz(45.8211, 49.8989, 11.9196)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB3F #3F58D4
analogous
#D4713F #D4BB3F #A3D43F
triadic
#D4BB3F #3FD4BB #BB3FD4
tetradic
#D4BB3F #3FD471 #3F58D4 #D43FA3
square
#D4BB3F #3FD471 #3F58D4 #D43FA3
split-complementary
#D4BB3F #3FA3D4 #713FD4
monochromatic
#7D6C1C #AF9827 #D4BB3F #DFCD71 #EADEA3

Accessibility & contrast

On white

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

On black

10.98
#D4BB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB3F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB3F#FFFFFF#000000##000000
##D4BB3F1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72D
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#E4ADA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4bb3f;
/* rgb */ color: rgb(212, 187, 63);
/* oklch */ color: oklch(79.2% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#e5cf7b',
    500: '#d4bb3f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb3f;
$custom-light: #e5cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb3f",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 63
  },
  "hsl": {
    "h": 49.933,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79166,
    "c": 0.14146,
    "h": 97.5
  },
  "luminance": 0.49897
}

Semantic roles & 50–950 ramp

primary
#D4BB3F
secondary
#98A2D7
accent
#5DE641
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4BB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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