#D4BF48#D4BF48

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

Color values

HEX#D4BF48
RGBrgb(212, 191, 72)
HSLhsl(51, 62%, 56%)
HSVhsv(51, 66%, 83%)
CMYKcmyk(0%, 9.9%, 66%, 16.9%)
CIE-LABlab(77.12, -6.11, 60.47)
CIE-LCHlch(77.12, 60.78, 95.77°)
OKLaboklab(80.07% -0.0221 0.1365)
OKLCHoklch(80.07% 0.138 99.2)
XYZxyz(46.9539, 51.7287, 13.6410)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF48 #485DD4
analogous
#D47948 #D4BF48 #A3D448
triadic
#D4BF48 #48D4BF #BF48D4
tetradic
#D4BF48 #48D479 #485DD4 #D448A3
square
#D4BF48 #48D479 #485DD4 #D448A3
split-complementary
#D4BF48 #48A3D4 #7948D4
monochromatic
#83741F #B4A02A #D4BF48 #E0D07A #EBE2AB

Accessibility & contrast

On white

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

On black

11.35
#D4BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF48
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF48#FFFFFF#000000##000000
##D4BF481.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bf48;
/* rgb */ color: rgb(212, 191, 72);
/* oklch */ color: oklch(80.1% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#e5d281',
    500: '#d4bf48',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf48;
$custom-light: #e5d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf48",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 51,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80067,
    "c": 0.13827,
    "h": 99.2
  },
  "luminance": 0.51727
}

Semantic roles & 50–950 ramp

primary
#D4BF48
secondary
#36438A
accent
#5BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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