#D4BF52#D4BF52

#D4BF52 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.130 H 98.4°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D4BF52
RGBrgb(212, 191, 82)
HSLhsl(50, 60%, 58%)
HSVhsv(50, 61%, 83%)
CMYKcmyk(0%, 9.9%, 61.3%, 16.9%)
CIE-LABlab(77.20, -5.49, 56.26)
CIE-LCHlch(77.20, 56.53, 95.57°)
OKLaboklab(80.16% -0.0191 0.1291)
OKLCHoklch(80.16% 0.13 98.4)
XYZxyz(47.3071, 51.8699, 15.5011)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF52 #5267D4
analogous
#D47E52 #D4BF52 #A8D452
triadic
#D4BF52 #52D4BF #BF52D4
tetradic
#D4BF52 #52D47E #5267D4 #D452A8
square
#D4BF52 #52D47E #5267D4 #D452A8
split-complementary
#D4BF52 #52A8D4 #7E52D4
monochromatic
#897922 #BAA42E #D4BF52 #E0D183 #ECE3B4

Accessibility & contrast

On white

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

On black

11.37
#D4BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF52
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF52#FFFFFF#000000##000000
##D4BF521.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#E3B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf52;
/* rgb */ color: rgb(212, 191, 82);
/* oklch */ color: oklch(80.2% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#e4d287',
    500: '#d4bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf52;
$custom-light: #e4d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf52",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 50.308,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80162,
    "c": 0.13046,
    "h": 98.4
  },
  "luminance": 0.51868
}

Semantic roles & 50–950 ramp

primary
#D4BF52
secondary
#3B4890
accent
#5EE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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