#B79B31#B79B31

#B79B31 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.125 H 93.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B79B31
RGBrgb(183, 155, 49)
HSLhsl(47, 58%, 45%)
HSVhsv(47, 73%, 72%)
CMYKcmyk(0%, 15.3%, 73.2%, 28.2%)
CIE-LABlab(64.75, -0.93, 56.37)
CIE-LCHlch(64.75, 56.38, 90.95°)
OKLaboklab(69.59% -0.0082 0.1248)
OKLCHoklch(69.59% 0.125 93.8)
XYZxyz(31.8059, 33.7335, 7.7411)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79B31 #314DB7
analogous
#B75831 #B79B31 #90B731
triadic
#B79B31 #31B79B #9B31B7
tetradic
#B79B31 #31B758 #314DB7 #B73190
square
#B79B31 #31B758 #314DB7 #B73190
split-complementary
#B79B31 #3190B7 #5831B7
monochromatic
#564917 #877224 #B79B31 #D1B754 #DECB84

Accessibility & contrast

On white

2.71
#B79B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B79B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79B31
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79B31#FFFFFF#000000##000000
##B79B311.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#C68E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79b31;
/* rgb */ color: rgb(183, 155, 49);
/* oklch */ color: oklch(69.6% 0.125 93.8);
Tailwind
colors: {
  custom: {
    50: '#d0b870',
    500: '#b79b31',
    950: '#000000',
  },
}
SCSS
$custom: #b79b31;
$custom-light: #d0b870;
$custom-dark: #000000;
JSON
{
  "hex": "#b79b31",
  "rgb": {
    "r": 183,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 47.463,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69588,
    "c": 0.12507,
    "h": 93.8
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#B79B31
secondary
#7C8CC8
accent
#67E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79B31

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

Preview Lab → · Contrast checker → · Palette generator →

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