#B9A939#B9A939

#B9A939 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.130 H 101.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B9A939
RGBrgb(185, 169, 57)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.6%, 69.2%, 27.5%)
CIE-LABlab(68.74, -7.10, 57.23)
CIE-LCHlch(68.74, 57.67, 97.08°)
OKLaboklab(72.81% -0.025 0.128)
OKLCHoklch(72.81% 0.13 101)
XYZxyz(34.9356, 38.9872, 9.5552)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A939 #3949B9
analogous
#B96939 #B9A939 #89B939
triadic
#B9A939 #39B9A9 #A939B9
tetradic
#B9A939 #39B969 #3949B9 #B93989
square
#B9A939 #39B969 #3949B9 #B93989
split-complementary
#B9A939 #3989B9 #6939B9
monochromatic
#5B541C #8A7E2B #B9A939 #CEC161 #DDD390

Accessibility & contrast

On white

2.39
#B9A939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B9A939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A939
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A939#FFFFFF#000000##000000
##B9A9391.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A429
Deuteranopia (green-blind)
#BDAB40
Tritanopia (blue-blind)
#C79D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9a939;
/* rgb */ color: rgb(185, 169, 57);
/* oklch */ color: oklch(72.8% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d1c276',
    500: '#b9a939',
    950: '#000000',
  },
}
SCSS
$custom: #b9a939;
$custom-light: #d1c276;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a939",
  "rgb": {
    "r": 185,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 52.5,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72811,
    "c": 0.13042,
    "h": 101
  },
  "luminance": 0.38986
}

Semantic roles & 50–950 ramp

primary
#B9A939
secondary
#868EC8
accent
#5EDC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A939

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

Preview Lab → · Contrast checker → · Palette generator →

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