#B9A33B#B9A33B

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

Color values

HEX#B9A33B
RGBrgb(185, 163, 59)
HSLhsl(50, 52%, 48%)
HSVhsv(50, 68%, 73%)
CMYKcmyk(0%, 11.9%, 68.1%, 27.5%)
CIE-LABlab(67.15, -3.82, 54.78)
CIE-LCHlch(67.15, 54.91, 93.99°)
OKLaboklab(71.55% -0.0154 0.1232)
OKLCHoklch(71.55% 0.124 97.1)
XYZxyz(33.8958, 36.8261, 9.4596)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A33B #3B51B9
analogous
#B9643B #B9A33B #90B93B
triadic
#B9A33B #3BB9A3 #A33BB9
tetradic
#B9A33B #3BB964 #3B51B9 #B93B90
square
#B9A33B #3BB964 #3B51B9 #B93B90
split-complementary
#B9A33B #3B90B9 #643BB9
monochromatic
#5C511D #8B7A2C #B9A33B #CDBB64 #DCCF92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9A33B#FFFFFF#000000##000000
##B9A33B1.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)
#B39F2D
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#C7978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a33b;
/* rgb */ color: rgb(185, 163, 59);
/* oklch */ color: oklch(71.6% 0.124 97.1);
Tailwind
colors: {
  custom: {
    50: '#d1bd77',
    500: '#b9a33b',
    950: '#000000',
  },
}
SCSS
$custom: #b9a33b;
$custom-light: #d1bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a33b",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 49.524,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71551,
    "c": 0.12413,
    "h": 97.1
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#B9A33B
secondary
#8893C7
accent
#66DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A33B

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

Preview Lab → · Contrast checker → · Palette generator →

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