#B9A336#B9A336

#B9A336 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.128 H 97.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B9A336
RGBrgb(185, 163, 54)
HSLhsl(50, 55%, 47%)
HSVhsv(50, 71%, 73%)
CMYKcmyk(0%, 11.9%, 70.8%, 27.5%)
CIE-LABlab(67.11, -4.09, 56.79)
CIE-LCHlch(67.11, 56.94, 94.12°)
OKLaboklab(71.51% -0.0167 0.1266)
OKLCHoklch(71.51% 0.128 97.5)
XYZxyz(33.7723, 36.7767, 8.8090)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A336 #364CB9
analogous
#B96236 #B9A336 #8EB936
triadic
#B9A336 #36B9A3 #A336B9
tetradic
#B9A336 #36B962 #364CB9 #B9368E
square
#B9A336 #36B962 #364CB9 #B9368E
split-complementary
#B9A336 #368EB9 #6236B9
monochromatic
#5A501A #8A7928 #B9A336 #D0BC5D #DDD08C

Accessibility & contrast

On white

2.51
#B9A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B9A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A336
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A336#FFFFFF#000000##000000
##B9A3361.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#C8978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a336;
/* rgb */ color: rgb(185, 163, 54);
/* oklch */ color: oklch(71.5% 0.128 97.5);
Tailwind
colors: {
  custom: {
    50: '#d2bd74',
    500: '#b9a336',
    950: '#000000',
  },
}
SCSS
$custom: #b9a336;
$custom-light: #d2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a336",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 49.924,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7151,
    "c": 0.12765,
    "h": 97.5
  },
  "luminance": 0.36775
}

Semantic roles & 50–950 ramp

primary
#B9A336
secondary
#838FC8
accent
#63DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A336

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

Preview Lab → · Contrast checker → · Palette generator →

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