#B9A82A#B9A82A

#B9A82A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.139 H 101.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B9A82A
RGBrgb(185, 168, 42)
HSLhsl(53, 63%, 45%)
HSVhsv(53, 77%, 73%)
CMYKcmyk(0%, 9.2%, 77.3%, 27.5%)
CIE-LABlab(68.38, -7.28, 62.40)
CIE-LCHlch(68.38, 62.82, 96.65°)
OKLaboklab(72.49% -0.027 0.1362)
OKLCHoklch(72.49% 0.139 101.2)
XYZxyz(34.4298, 38.4883, 7.8055)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A82A #2A3BB9
analogous
#B9602A #B9A82A #83B92A
triadic
#B9A82A #2AB9A8 #A82AB9
tetradic
#B9A82A #2AB960 #2A3BB9 #B92A83
square
#B9A82A #2AB960 #2A3BB9 #B92A83
split-complementary
#B9A82A #2A83B9 #602AB9
monochromatic
#554D13 #877B1F #B9A82A #D6C54A #E1D57C

Accessibility & contrast

On white

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

On black

8.70
#B9A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A82A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A82A#FFFFFF#000000##000000
##B9A82A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30C
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#C89B90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b9a82a;
/* rgb */ color: rgb(185, 168, 42);
/* oklch */ color: oklch(72.5% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#d2c16e',
    500: '#b9a82a',
    950: '#000000',
  },
}
SCSS
$custom: #b9a82a;
$custom-light: #d2c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a82a",
  "rgb": {
    "r": 185,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 52.867,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.13881,
    "h": 101.2
  },
  "luminance": 0.38487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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