#BDAF32#BDAF32

#BDAF32 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.140 H 102.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#BDAF32
RGBrgb(189, 175, 50)
HSLhsl(54, 58%, 47%)
HSVhsv(54, 74%, 74%)
CMYKcmyk(0%, 7.4%, 73.5%, 25.9%)
CIE-LABlab(70.67, -8.85, 61.91)
CIE-LCHlch(70.67, 62.54, 98.13°)
OKLaboklab(74.41% -0.0309 0.1365)
OKLCHoklch(74.41% 0.14 102.7)
XYZxyz(36.8936, 41.7106, 9.1246)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF32 #3240BD
analogous
#BD6A32 #BDAF32 #86BD32
triadic
#BDAF32 #32BDAF #AF32BD
tetradic
#BDAF32 #32BD6A #3240BD #BD3286
square
#BDAF32 #32BD6A #3240BD #BD3286
split-complementary
#BDAF32 #3286BD #6A32BD
monochromatic
#5C5518 #8D8225 #BDAF32 #D3C759 #E0D789

Accessibility & contrast

On white

2.25
#BDAF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#BDAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF32
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF32#FFFFFF#000000##000000
##BDAF321.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91B
Deuteranopia (green-blind)
#C3B03B
Tritanopia (blue-blind)
#CBA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf32;
/* rgb */ color: rgb(189, 175, 50);
/* oklch */ color: oklch(74.4% 0.140 102.7);
Tailwind
colors: {
  custom: {
    50: '#d5c673',
    500: '#bdaf32',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf32;
$custom-light: #d5c673;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf32",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 53.957,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74414,
    "c": 0.13995,
    "h": 102.7
  },
  "luminance": 0.41709
}

Semantic roles & 50–950 ramp

primary
#BDAF32
secondary
#8188CA
accent
#56E146
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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