#D4BF4D#D4BF4D

#D4BF4D is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.134 H 98.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D4BF4D
RGBrgb(212, 191, 77)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 64%, 83%)
CMYKcmyk(0%, 9.9%, 63.7%, 16.9%)
CIE-LABlab(77.16, -5.81, 58.40)
CIE-LCHlch(77.16, 58.69, 95.68°)
OKLaboklab(80.11% -0.0207 0.1329)
OKLCHoklch(80.11% 0.134 98.8)
XYZxyz(47.1237, 51.7966, 14.5353)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF4D #4D62D4
analogous
#D47C4D #D4BF4D #A5D44D
triadic
#D4BF4D #4DD4BF #BF4DD4
tetradic
#D4BF4D #4DD47C #4D62D4 #D44DA5
square
#D4BF4D #4DD47C #4D62D4 #D44DA5
split-complementary
#D4BF4D #4DA5D4 #7C4DD4
monochromatic
#867620 #B7A22C #D4BF4D #E0D17E #ECE2B0

Accessibility & contrast

On white

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

On black

11.36
#D4BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF4D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF4D#FFFFFF#000000##000000
##D4BF4D1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3F
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#E4B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf4d;
/* rgb */ color: rgb(212, 191, 77);
/* oklch */ color: oklch(80.1% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#e4d284',
    500: '#d4bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf4d;
$custom-light: #e4d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf4d",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 50.667,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80113,
    "c": 0.13448,
    "h": 98.8
  },
  "luminance": 0.51794
}

Semantic roles & 50–950 ramp

primary
#D4BF4D
secondary
#38468D
accent
#5DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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