#B9AF32#B9AF32

#B9AF32 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.140 H 104.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B9AF32
RGBrgb(185, 175, 50)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 73%, 73%)
CMYKcmyk(0%, 5.4%, 73%, 27.5%)
CIE-LABlab(70.32, -10.59, 61.45)
CIE-LCHlch(70.32, 62.36, 99.78°)
OKLaboklab(74.05% -0.0356 0.1357)
OKLCHoklch(74.05% 0.14 104.7)
XYZxyz(35.9148, 41.2059, 9.0787)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF32 #323CB9
analogous
#B96B32 #B9AF32 #7FB932
triadic
#B9AF32 #32B9AF #AF32B9
tetradic
#B9AF32 #32B96B #323CB9 #B9327F
square
#B9AF32 #32B96B #323CB9 #B9327F
split-complementary
#B9AF32 #327FB9 #6B32B9
monochromatic
#595418 #898125 #B9AF32 #D2C857 #DFD887

Accessibility & contrast

On white

2.27
#B9AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B9AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AF32
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AF32#FFFFFF#000000##000000
##B9AF321.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91B
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#C7A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b9af32;
/* rgb */ color: rgb(185, 175, 50);
/* oklch */ color: oklch(74.1% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#d2c673',
    500: '#b9af32',
    950: '#000000',
  },
}
SCSS
$custom: #b9af32;
$custom-light: #d2c673;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af32",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 55.556,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74051,
    "c": 0.14027,
    "h": 104.7
  },
  "luminance": 0.41205
}

Semantic roles & 50–950 ramp

primary
#B9AF32
secondary
#7F84C8
accent
#52E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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