#B9A92A#B9A92A

#B9A92A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.140 H 101.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B9A92A
RGBrgb(185, 169, 42)
HSLhsl(53, 63%, 45%)
HSVhsv(53, 77%, 73%)
CMYKcmyk(0%, 8.6%, 77.3%, 27.5%)
CIE-LABlab(68.65, -7.80, 62.65)
CIE-LCHlch(68.65, 63.13, 97.10°)
OKLaboklab(72.71% -0.0285 0.1367)
OKLCHoklch(72.71% 0.14 101.8)
XYZxyz(34.6151, 38.8590, 7.8673)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A92A #2A3AB9
analogous
#B9622A #B9A92A #81B92A
triadic
#B9A92A #2AB9A9 #A92AB9
tetradic
#B9A92A #2AB962 #2A3AB9 #B92A81
square
#B9A92A #2AB962 #2A3AB9 #B92A81
split-complementary
#B9A92A #2A81B9 #622AB9
monochromatic
#554E13 #877B1F #B9A92A #D6C64A #E1D67C

Accessibility & contrast

On white

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

On black

8.77
#B9A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A92A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A92A#FFFFFF#000000##000000
##B9A92A1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#C89C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b9a92a;
/* rgb */ color: rgb(185, 169, 42);
/* oklch */ color: oklch(72.7% 0.140 101.8);
Tailwind
colors: {
  custom: {
    50: '#d2c26e',
    500: '#b9a92a',
    950: '#000000',
  },
}
SCSS
$custom: #b9a92a;
$custom-light: #d2c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a92a",
  "rgb": {
    "r": 185,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 53.287,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.13963,
    "h": 101.8
  },
  "luminance": 0.38857
}

Semantic roles & 50–950 ramp

primary
#B9A92A
secondary
#757FCA
accent
#54E642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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