#B09B31#B09B31

#B09B31 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.9% C 0.124 H 97.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B09B31
RGBrgb(176, 155, 49)
HSLhsl(50, 56%, 44%)
HSVhsv(50, 72%, 69%)
CMYKcmyk(0%, 11.9%, 72.2%, 31%)
CIE-LABlab(64.08, -4.04, 55.48)
CIE-LCHlch(64.08, 55.63, 94.16°)
OKLaboklab(68.9% -0.0166 0.1232)
OKLCHoklch(68.9% 0.124 97.7)
XYZxyz(30.1817, 32.8961, 7.6650)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09B31 #3146B0
analogous
#B05C31 #B09B31 #86B031
triadic
#B09B31 #31B09B #9B31B0
tetradic
#B09B31 #31B05C #3146B0 #B03186
square
#B09B31 #31B05C #3146B0 #B03186
split-complementary
#B09B31 #3186B0 #5C31B0
monochromatic
#504716 #807124 #B09B31 #CEB950 #DCCC80

Accessibility & contrast

On white

2.77
#B09B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B09B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09B31
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09B31#FFFFFF#000000##000000
##B09B311.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9721
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#BE8F86
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b09b31;
/* rgb */ color: rgb(176, 155, 49);
/* oklch */ color: oklch(68.9% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#cbb870',
    500: '#b09b31',
    950: '#000000',
  },
}
SCSS
$custom: #b09b31;
$custom-light: #cbb870;
$custom-dark: #000000;
JSON
{
  "hex": "#b09b31",
  "rgb": {
    "r": 176,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 50.079,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68897,
    "c": 0.12431,
    "h": 97.7
  },
  "luminance": 0.32895
}

Semantic roles & 50–950 ramp

primary
#B09B31
secondary
#7885C5
accent
#61E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B09B31

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

Preview Lab → · Contrast checker → · Palette generator →

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