#B09D31#B09D31

#B09D31 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.3% C 0.126 H 99.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B09D31
RGBrgb(176, 157, 49)
HSLhsl(51, 56%, 44%)
HSVhsv(51, 72%, 69%)
CMYKcmyk(0%, 10.8%, 72.2%, 31%)
CIE-LABlab(64.62, -5.11, 56.02)
CIE-LCHlch(64.62, 56.25, 95.21°)
OKLaboklab(69.33% -0.0197 0.1243)
OKLCHoklch(69.33% 0.126 99)
XYZxyz(30.5173, 33.5673, 7.7768)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09D31 #3144B0
analogous
#B05E31 #B09D31 #84B031
triadic
#B09D31 #31B09D #9D31B0
tetradic
#B09D31 #31B05E #3144B0 #B03184
square
#B09D31 #31B05E #3144B0 #B03184
split-complementary
#B09D31 #3184B0 #5E31B0
monochromatic
#504816 #807224 #B09D31 #CEBB50 #DCCE80

Accessibility & contrast

On white

2.72
#B09D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B09D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09D31
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09D31#FFFFFF#000000##000000
##B09D311.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#BE9188
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b09d31;
/* rgb */ color: rgb(176, 157, 49);
/* oklch */ color: oklch(69.3% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#cbb970',
    500: '#b09d31',
    950: '#000000',
  },
}
SCSS
$custom: #b09d31;
$custom-light: #cbb970;
$custom-dark: #000000;
JSON
{
  "hex": "#b09d31",
  "rgb": {
    "r": 176,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 51.024,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69326,
    "c": 0.12587,
    "h": 99
  },
  "luminance": 0.33566
}

Semantic roles & 50–950 ramp

primary
#B09D31
secondary
#7884C5
accent
#5FE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B09D31

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

Preview Lab → · Contrast checker → · Palette generator →

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