#B9A835#B9A835

#B9A835 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.132 H 100.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B9A835
RGBrgb(185, 168, 53)
HSLhsl(52, 55%, 47%)
HSVhsv(52, 71%, 73%)
CMYKcmyk(0%, 9.2%, 71.4%, 27.5%)
CIE-LABlab(68.44, -6.79, 58.51)
CIE-LCHlch(68.44, 58.90, 96.62°)
OKLaboklab(72.57% -0.0245 0.13)
OKLCHoklch(72.57% 0.132 100.7)
XYZxyz(34.6544, 38.5782, 8.9884)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A835 #3546B9
analogous
#B96635 #B9A835 #88B935
triadic
#B9A835 #35B9A8 #A835B9
tetradic
#B9A835 #35B966 #3546B9 #B93588
square
#B9A835 #35B966 #3546B9 #B93588
split-complementary
#B9A835 #3588B9 #6635B9
monochromatic
#5A521A #897D27 #B9A835 #D0C15B #DED38B

Accessibility & contrast

On white

2.41
#B9A835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B9A835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A835
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A835#FFFFFF#000000##000000
##B9A8351.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A323
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#C79C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b9a835;
/* rgb */ color: rgb(185, 168, 53);
/* oklch */ color: oklch(72.6% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#d2c174',
    500: '#b9a835',
    950: '#000000',
  },
}
SCSS
$custom: #b9a835;
$custom-light: #d2c174;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a835",
  "rgb": {
    "r": 185,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 52.273,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.13229,
    "h": 100.7
  },
  "luminance": 0.38577
}

Semantic roles & 50–950 ramp

primary
#B9A835
secondary
#828BC8
accent
#5CDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A835

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

Preview Lab → · Contrast checker → · Palette generator →

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