#B9A232#B9A232

#B9A232 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.130 H 97.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B9A232
RGBrgb(185, 162, 50)
HSLhsl(50, 57%, 46%)
HSVhsv(50, 73%, 73%)
CMYKcmyk(0%, 12.4%, 73%, 27.5%)
CIE-LABlab(66.81, -3.75, 58.07)
CIE-LCHlch(66.81, 58.19, 93.70°)
OKLaboklab(71.27% -0.0162 0.1285)
OKLCHoklch(71.27% 0.13 97.2)
XYZxyz(33.5053, 36.3870, 8.2756)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A232 #3249B9
analogous
#B95E32 #B9A232 #8CB932
triadic
#B9A232 #32B9A2 #A232B9
tetradic
#B9A232 #32B95E #3249B9 #B9328C
square
#B9A232 #32B95E #3249B9 #B9328C
split-complementary
#B9A232 #328CB9 #5E32B9
monochromatic
#594E18 #897825 #B9A232 #D2BD57 #DFD087

Accessibility & contrast

On white

2.54
#B9A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B9A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A232
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A232#FFFFFF#000000##000000
##B9A2321.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E20
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#C8968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a232;
/* rgb */ color: rgb(185, 162, 50);
/* oklch */ color: oklch(71.3% 0.130 97.2);
Tailwind
colors: {
  custom: {
    50: '#d2bd71',
    500: '#b9a232',
    950: '#000000',
  },
}
SCSS
$custom: #b9a232;
$custom-light: #d2bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a232",
  "rgb": {
    "r": 185,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 49.778,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71268,
    "c": 0.12952,
    "h": 97.2
  },
  "luminance": 0.36385
}

Semantic roles & 50–950 ramp

primary
#B9A232
secondary
#7F8BC8
accent
#61E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A232

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

Preview Lab → · Contrast checker → · Palette generator →

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