#B9A433#B9A433

#B9A433 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.130 H 98.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B9A433
RGBrgb(185, 164, 51)
HSLhsl(51, 57%, 46%)
HSVhsv(51, 72%, 73%)
CMYKcmyk(0%, 11.4%, 72.4%, 27.5%)
CIE-LABlab(67.36, -4.77, 58.21)
CIE-LCHlch(67.36, 58.41, 94.68°)
OKLaboklab(71.7% -0.019 0.129)
OKLCHoklch(71.7% 0.13 98.4)
XYZxyz(33.8822, 37.1059, 8.5088)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A433 #3348B9
analogous
#B96133 #B9A433 #8BB933
triadic
#B9A433 #33B9A4 #A433B9
tetradic
#B9A433 #33B961 #3348B9 #B9338B
square
#B9A433 #33B961 #3348B9 #B9338B
split-complementary
#B9A433 #338BB9 #6133B9
monochromatic
#594F19 #897926 #B9A433 #D1BE58 #DED188

Accessibility & contrast

On white

2.49
#B9A433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B9A433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A433
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A433#FFFFFF#000000##000000
##B9A4331.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A021
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C8988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b9a433;
/* rgb */ color: rgb(185, 164, 51);
/* oklch */ color: oklch(71.7% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#d2be72',
    500: '#b9a433',
    950: '#000000',
  },
}
SCSS
$custom: #b9a433;
$custom-light: #d2be72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a433",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 51
  },
  "hsl": {
    "h": 50.597,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.13039,
    "h": 98.4
  },
  "luminance": 0.37104
}

Semantic roles & 50–950 ramp

primary
#B9A433
secondary
#808BC8
accent
#60E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A433

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

Preview Lab → · Contrast checker → · Palette generator →

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