#D4BF4F#D4BF4F

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

Color values

HEX#D4BF4F
RGBrgb(212, 191, 79)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 63%, 83%)
CMYKcmyk(0%, 9.9%, 62.7%, 16.9%)
CIE-LABlab(77.18, -5.69, 57.56)
CIE-LCHlch(77.18, 57.84, 95.64°)
OKLaboklab(80.13% -0.0201 0.1314)
OKLCHoklch(80.13% 0.133 98.7)
XYZxyz(47.1954, 51.8253, 14.9129)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF4F #4F64D4
analogous
#D47C4F #D4BF4F #A7D44F
triadic
#D4BF4F #4FD4BF #BF4FD4
tetradic
#D4BF4F #4FD47C #4F64D4 #D44FA7
square
#D4BF4F #4FD47C #4F64D4 #D44FA7
split-complementary
#D4BF4F #4FA7D4 #7C4FD4
monochromatic
#877721 #B9A32D #D4BF4F #E0D180 #ECE3B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BF4F#FFFFFF#000000##000000
##D4BF4F1.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)
#D0BA42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#E4B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf4f;
/* rgb */ color: rgb(212, 191, 79);
/* oklch */ color: oklch(80.1% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e4d285',
    500: '#d4bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf4f;
$custom-light: #e4d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf4f",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 50.526,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80132,
    "c": 0.1329,
    "h": 98.7
  },
  "luminance": 0.51823
}

Semantic roles & 50–950 ramp

primary
#D4BF4F
secondary
#39478E
accent
#5DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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