#B09731#B09731

#B09731 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.121 H 95.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B09731
RGBrgb(176, 151, 49)
HSLhsl(48, 56%, 44%)
HSVhsv(48, 72%, 69%)
CMYKcmyk(0%, 14.2%, 72.2%, 31%)
CIE-LABlab(63.00, -1.88, 54.42)
CIE-LCHlch(63.00, 54.45, 91.98°)
OKLaboklab(68.05% -0.0105 0.1209)
OKLCHoklch(68.05% 0.121 95)
XYZxyz(29.5270, 31.5867, 7.4467)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09731 #314AB0
analogous
#B05831 #B09731 #8AB031
triadic
#B09731 #31B097 #9731B0
tetradic
#B09731 #31B058 #314AB0 #B0318A
square
#B09731 #31B058 #314AB0 #B0318A
split-complementary
#B09731 #318AB0 #5831B0
monochromatic
#504516 #806E24 #B09731 #CEB550 #DCCA80

Accessibility & contrast

On white

2.87
#B09731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B09731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09731
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09731#FFFFFF#000000##000000
##B097311.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79422
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#BE8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b09731;
/* rgb */ color: rgb(176, 151, 49);
/* oklch */ color: oklch(68.0% 0.121 95.0);
Tailwind
colors: {
  custom: {
    50: '#cbb570',
    500: '#b09731',
    950: '#000000',
  },
}
SCSS
$custom: #b09731;
$custom-light: #cbb570;
$custom-dark: #000000;
JSON
{
  "hex": "#b09731",
  "rgb": {
    "r": 176,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 48.189,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68045,
    "c": 0.12138,
    "h": 95
  },
  "luminance": 0.31585
}

Semantic roles & 50–950 ramp

primary
#B09731
secondary
#7887C5
accent
#66E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B09731

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

Preview Lab → · Contrast checker → · Palette generator →

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