#D4BF42#D4BF42

#D4BF42 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.143 H 99.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D4BF42
RGBrgb(212, 191, 66)
HSLhsl(51, 63%, 55%)
HSVhsv(51, 69%, 83%)
CMYKcmyk(0%, 9.9%, 68.9%, 16.9%)
CIE-LABlab(77.07, -6.44, 62.86)
CIE-LCHlch(77.07, 63.19, 95.85°)
OKLaboklab(80.02% -0.0237 0.1406)
OKLCHoklch(80.02% 0.143 99.6)
XYZxyz(46.7677, 51.6542, 12.6600)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF42 #4257D4
analogous
#D47642 #D4BF42 #A0D442
triadic
#D4BF42 #42D4BF #BF42D4
tetradic
#D4BF42 #42D476 #4257D4 #D442A0
square
#D4BF42 #42D476 #4257D4 #D442A0
split-complementary
#D4BF42 #42A0D4 #7642D4
monochromatic
#7F711D #B19D28 #D4BF42 #DFD074 #EBE1A6

Accessibility & contrast

On white

1.85
#D4BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#D4BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF42
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF42#FFFFFF#000000##000000
##D4BF421.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#E4B1A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf42;
/* rgb */ color: rgb(212, 191, 66);
/* oklch */ color: oklch(80.0% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#e5d27d',
    500: '#d4bf42',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf42;
$custom-light: #e5d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf42",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 51.37,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80018,
    "c": 0.14253,
    "h": 99.6
  },
  "luminance": 0.51652
}

Semantic roles & 50–950 ramp

primary
#D4BF42
secondary
#344086
accent
#59E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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