#B9A535#B9A535

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

Color values

HEX#B9A535
RGBrgb(185, 165, 53)
HSLhsl(51, 55%, 47%)
HSVhsv(51, 71%, 73%)
CMYKcmyk(0%, 10.8%, 71.4%, 27.5%)
CIE-LABlab(67.64, -5.20, 57.71)
CIE-LCHlch(67.64, 57.95, 95.15°)
OKLaboklab(71.93% -0.02 0.1283)
OKLCHoklch(71.93% 0.13 98.9)
XYZxyz(34.1069, 37.4832, 8.8059)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A535 #3549B9
analogous
#B96335 #B9A535 #8BB935
triadic
#B9A535 #35B9A5 #A535B9
tetradic
#B9A535 #35B963 #3549B9 #B9358B
square
#B9A535 #35B963 #3549B9 #B9358B
split-complementary
#B9A535 #358BB9 #6335B9
monochromatic
#5A501A #897B27 #B9A535 #D0BE5B #DED18B

Accessibility & contrast

On white

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

On black

8.50
#B9A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A535
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A535#FFFFFF#000000##000000
##B9A5351.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#BAA83C
Tritanopia (blue-blind)
#C7998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b9a535;
/* rgb */ color: rgb(185, 165, 53);
/* oklch */ color: oklch(71.9% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#d2bf73',
    500: '#b9a535',
    950: '#000000',
  },
}
SCSS
$custom: #b9a535;
$custom-light: #d2bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a535",
  "rgb": {
    "r": 185,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 50.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.12987,
    "h": 98.9
  },
  "luminance": 0.37482
}

Semantic roles & 50–950 ramp

primary
#B9A535
secondary
#828DC8
accent
#60DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A535

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

Preview Lab → · Contrast checker → · Palette generator →

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