#D4BF49#D4BF49

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

Color values

HEX#D4BF49
RGBrgb(212, 191, 73)
HSLhsl(51, 62%, 56%)
HSVhsv(51, 66%, 83%)
CMYKcmyk(0%, 9.9%, 65.6%, 16.9%)
CIE-LABlab(77.13, -6.06, 60.07)
CIE-LCHlch(77.13, 60.37, 95.76°)
OKLaboklab(80.08% -0.0218 0.1358)
OKLCHoklch(80.08% 0.138 99.1)
XYZxyz(46.9868, 51.7418, 13.8142)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF49 #495ED4
analogous
#D47949 #D4BF49 #A3D449
triadic
#D4BF49 #49D4BF #BF49D4
tetradic
#D4BF49 #49D479 #495ED4 #D449A3
square
#D4BF49 #49D479 #495ED4 #D449A3
split-complementary
#D4BF49 #49A3D4 #7949D4
monochromatic
#84741F #B5A02B #D4BF49 #E0D07B #EBE2AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BF49#FFFFFF#000000##000000
##D4BF491.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)
#D1BA3A
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#E4B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf49;
/* rgb */ color: rgb(212, 191, 73);
/* oklch */ color: oklch(80.1% 0.138 99.1);
Tailwind
colors: {
  custom: {
    50: '#e5d281',
    500: '#d4bf49',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf49;
$custom-light: #e5d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf49",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 73
  },
  "hsl": {
    "h": 50.935,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80076,
    "c": 0.13754,
    "h": 99.1
  },
  "luminance": 0.5174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4BF49

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

Preview Lab → · Contrast checker → · Palette generator →

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