#B9A533#B9A533

#B9A533 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.131 H 99.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B9A533
RGBrgb(185, 165, 51)
HSLhsl(51, 57%, 46%)
HSVhsv(51, 72%, 73%)
CMYKcmyk(0%, 10.8%, 72.4%, 27.5%)
CIE-LABlab(67.62, -5.30, 58.47)
CIE-LCHlch(67.62, 58.71, 95.18°)
OKLaboklab(71.91% -0.0205 0.1296)
OKLCHoklch(71.91% 0.131 99)
XYZxyz(34.0619, 37.4652, 8.5687)
Luminance0.3746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A533 #3347B9
analogous
#B96233 #B9A533 #8AB933
triadic
#B9A533 #33B9A5 #A533B9
tetradic
#B9A533 #33B962 #3347B9 #B9338A
square
#B9A533 #33B962 #3347B9 #B9338A
split-complementary
#B9A533 #338AB9 #6233B9
monochromatic
#594F19 #897A26 #B9A533 #D1BF58 #DED188

Accessibility & contrast

On white

2.47
#B9A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B9A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A533
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A533#FFFFFF#000000##000000
##B9A5331.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A121
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C7998E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b9a533;
/* rgb */ color: rgb(185, 165, 51);
/* oklch */ color: oklch(71.9% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#d2bf72',
    500: '#b9a533',
    950: '#000000',
  },
}
SCSS
$custom: #b9a533;
$custom-light: #d2bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a533",
  "rgb": {
    "r": 185,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 51.045,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.13116,
    "h": 99
  },
  "luminance": 0.37464
}

Semantic roles & 50–950 ramp

primary
#B9A533
secondary
#808BC8
accent
#5EE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A533

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

Preview Lab → · Contrast checker → · Palette generator →

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