#BDAF36#BDAF36

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

Color values

HEX#BDAF36
RGBrgb(189, 175, 54)
HSLhsl(54, 56%, 48%)
HSVhsv(54, 71%, 74%)
CMYKcmyk(0%, 7.4%, 71.4%, 25.9%)
CIE-LABlab(70.70, -8.66, 60.46)
CIE-LCHlch(70.70, 61.08, 98.15°)
OKLaboklab(74.44% -0.0299 0.1342)
OKLCHoklch(74.44% 0.137 102.6)
XYZxyz(36.9837, 41.7467, 9.5991)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF36 #3644BD
analogous
#BD6C36 #BDAF36 #87BD36
triadic
#BDAF36 #36BDAF #AF36BD
tetradic
#BDAF36 #36BD6C #3644BD #BD3687
square
#BDAF36 #36BD6C #3644BD #BD3687
split-complementary
#BDAF36 #3687BD #6C36BD
monochromatic
#5E571B #8D8328 #BDAF36 #D1C55F #DFD78F

Accessibility & contrast

On white

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

On black

9.35
#BDAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF36
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF36#FFFFFF#000000##000000
##BDAF361.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdaf36;
/* rgb */ color: rgb(189, 175, 54);
/* oklch */ color: oklch(74.4% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#d4c675',
    500: '#bdaf36',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf36;
$custom-light: #d4c675;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf36",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 53.778,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74442,
    "c": 0.13747,
    "h": 102.6
  },
  "luminance": 0.41745
}

Semantic roles & 50–950 ramp

primary
#BDAF36
secondary
#858CC9
accent
#58DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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