#D4BF54#D4BF54

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

Color values

HEX#D4BF54
RGBrgb(212, 191, 84)
HSLhsl(50, 60%, 58%)
HSVhsv(50, 60%, 83%)
CMYKcmyk(0%, 9.9%, 60.4%, 16.9%)
CIE-LABlab(77.22, -5.35, 55.39)
CIE-LCHlch(77.22, 55.65, 95.52°)
OKLaboklab(80.18% -0.0185 0.1275)
OKLCHoklch(80.18% 0.129 98.3)
XYZxyz(47.3843, 51.9008, 15.9077)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF54 #5469D4
analogous
#D47F54 #D4BF54 #A9D454
triadic
#D4BF54 #54D4BF #BF54D4
tetradic
#D4BF54 #54D47F #5469D4 #D454A9
square
#D4BF54 #54D47F #5469D4 #D454A9
split-complementary
#D4BF54 #54A9D4 #7F54D4
monochromatic
#8B7A23 #BCA52F #D4BF54 #E0D185 #EDE4B6

Accessibility & contrast

On white

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

On black

11.38
#D4BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF54
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF54#FFFFFF#000000##000000
##D4BF541.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA48
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#E3B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf54;
/* rgb */ color: rgb(212, 191, 84);
/* oklch */ color: oklch(80.2% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#e4d288',
    500: '#d4bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf54;
$custom-light: #e4d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf54",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 50.156,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80182,
    "c": 0.1288,
    "h": 98.3
  },
  "luminance": 0.51899
}

Semantic roles & 50–950 ramp

primary
#D4BF54
secondary
#3B4991
accent
#5FE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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