#D4BF51#D4BF51

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

Color values

HEX#D4BF51
RGBrgb(212, 191, 81)
HSLhsl(50, 60%, 57%)
HSVhsv(50, 62%, 83%)
CMYKcmyk(0%, 9.9%, 61.8%, 16.9%)
CIE-LABlab(77.19, -5.56, 56.70)
CIE-LCHlch(77.19, 56.97, 95.60°)
OKLaboklab(80.15% -0.0195 0.1298)
OKLCHoklch(80.15% 0.131 98.5)
XYZxyz(47.2693, 51.8548, 15.3021)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF51 #5166D4
analogous
#D47E51 #D4BF51 #A7D451
triadic
#D4BF51 #51D4BF #BF51D4
tetradic
#D4BF51 #51D47E #5166D4 #D451A7
square
#D4BF51 #51D47E #5166D4 #D451A7
split-complementary
#D4BF51 #51A7D4 #7E51D4
monochromatic
#897822 #BAA32E #D4BF51 #E0D182 #ECE3B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BF51#FFFFFF#000000##000000
##D4BF511.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)
#D0BA45
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#E3B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf51;
/* rgb */ color: rgb(212, 191, 81);
/* oklch */ color: oklch(80.2% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#e4d286',
    500: '#d4bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf51;
$custom-light: #e4d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf51",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 50.382,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80152,
    "c": 0.13129,
    "h": 98.5
  },
  "luminance": 0.51853
}

Semantic roles & 50–950 ramp

primary
#D4BF51
secondary
#3A488F
accent
#5EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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