#B09F31#B09F31

#B09F31 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.127 H 100.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B09F31
RGBrgb(176, 159, 49)
HSLhsl(52, 56%, 44%)
HSVhsv(52, 72%, 69%)
CMYKcmyk(0%, 9.7%, 72.2%, 31%)
CIE-LABlab(65.16, -6.18, 56.55)
CIE-LCHlch(65.16, 56.88, 96.24°)
OKLaboklab(69.76% -0.0227 0.1254)
OKLCHoklch(69.76% 0.127 100.3)
XYZxyz(30.8584, 34.2496, 7.8905)
Luminance0.3425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09F31 #3142B0
analogous
#B06031 #B09F31 #81B031
triadic
#B09F31 #31B09F #9F31B0
tetradic
#B09F31 #31B060 #3142B0 #B03181
square
#B09F31 #31B060 #3142B0 #B03181
split-complementary
#B09F31 #3181B0 #6031B0
monochromatic
#504916 #807424 #B09F31 #CEBD50 #DCCF80

Accessibility & contrast

On white

2.68
#B09F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B09F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09F31
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09F31#FFFFFF#000000##000000
##B09F311.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#BE9389
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b09f31;
/* rgb */ color: rgb(176, 159, 49);
/* oklch */ color: oklch(69.8% 0.127 100.3);
Tailwind
colors: {
  custom: {
    50: '#cbbb70',
    500: '#b09f31',
    950: '#000000',
  },
}
SCSS
$custom: #b09f31;
$custom-light: #cbbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b09f31",
  "rgb": {
    "r": 176,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 51.969,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69756,
    "c": 0.12748,
    "h": 100.3
  },
  "luminance": 0.34248
}

Semantic roles & 50–950 ramp

primary
#B09F31
secondary
#7882C5
accent
#5CE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B09F31

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

Preview Lab → · Contrast checker → · Palette generator →

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