#D4BF47#D4BF47

#D4BF47 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.139 H 99.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D4BF47
RGBrgb(212, 191, 71)
HSLhsl(51, 62%, 55%)
HSVhsv(51, 67%, 83%)
CMYKcmyk(0%, 9.9%, 66.5%, 16.9%)
CIE-LABlab(77.11, -6.17, 60.88)
CIE-LCHlch(77.11, 61.19, 95.79°)
OKLaboklab(80.06% -0.0224 0.1372)
OKLCHoklch(80.06% 0.139 99.3)
XYZxyz(46.9216, 51.7157, 13.4706)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF47 #475CD4
analogous
#D47847 #D4BF47 #A2D447
triadic
#D4BF47 #47D4BF #BF47D4
tetradic
#D4BF47 #47D478 #475CD4 #D447A2
square
#D4BF47 #47D478 #475CD4 #D447A2
split-complementary
#D4BF47 #47A2D4 #7847D4
monochromatic
#82731E #B49F2A #D4BF47 #E0D079 #EBE2AA

Accessibility & contrast

On white

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

On black

11.34
#D4BF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF47
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF47#FFFFFF#000000##000000
##D4BF471.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA37
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#E4B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf47;
/* rgb */ color: rgb(212, 191, 71);
/* oklch */ color: oklch(80.1% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#e5d280',
    500: '#d4bf47',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf47;
$custom-light: #e5d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf47",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 51.064,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.13901,
    "h": 99.3
  },
  "luminance": 0.51714
}

Semantic roles & 50–950 ramp

primary
#D4BF47
secondary
#364289
accent
#5BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4BF47

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

Preview Lab → · Contrast checker → · Palette generator →

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