#B09A31#B09A31

#B09A31 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.7% C 0.124 H 97.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B09A31
RGBrgb(176, 154, 49)
HSLhsl(50, 56%, 44%)
HSVhsv(50, 72%, 69%)
CMYKcmyk(0%, 12.5%, 72.2%, 31%)
CIE-LABlab(63.81, -3.50, 55.22)
CIE-LCHlch(63.81, 55.33, 93.63°)
OKLaboklab(68.68% -0.0151 0.1226)
OKLCHoklch(68.68% 0.124 97)
XYZxyz(30.0160, 32.5646, 7.6097)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09A31 #3147B0
analogous
#B05B31 #B09A31 #87B031
triadic
#B09A31 #31B09A #9A31B0
tetradic
#B09A31 #31B05B #3147B0 #B03187
square
#B09A31 #31B05B #3147B0 #B03187
split-complementary
#B09A31 #3187B0 #5B31B0
monochromatic
#504616 #807024 #B09A31 #CEB850 #DCCC80

Accessibility & contrast

On white

2.80
#B09A31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B09A31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09A31
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09A31#FFFFFF#000000##000000
##B09A311.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9621
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#BE8E85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b09a31;
/* rgb */ color: rgb(176, 154, 49);
/* oklch */ color: oklch(68.7% 0.124 97.0);
Tailwind
colors: {
  custom: {
    50: '#cbb770',
    500: '#b09a31',
    950: '#000000',
  },
}
SCSS
$custom: #b09a31;
$custom-light: #cbb770;
$custom-dark: #000000;
JSON
{
  "hex": "#b09a31",
  "rgb": {
    "r": 176,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 49.606,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68683,
    "c": 0.12356,
    "h": 97
  },
  "luminance": 0.32563
}

Semantic roles & 50–950 ramp

primary
#B09A31
secondary
#7885C5
accent
#62E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B09A31

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

Preview Lab → · Contrast checker → · Palette generator →

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