#B79A31#B79A31

#B79A31 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.4% C 0.124 H 93.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B79A31
RGBrgb(183, 154, 49)
HSLhsl(47, 58%, 45%)
HSVhsv(47, 73%, 72%)
CMYKcmyk(0%, 15.8%, 73.2%, 28.2%)
CIE-LABlab(64.49, -0.39, 56.11)
CIE-LCHlch(64.49, 56.11, 90.40°)
OKLaboklab(69.38% -0.0066 0.1243)
OKLCHoklch(69.38% 0.124 93.1)
XYZxyz(31.6401, 33.4021, 7.6858)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A31 #314EB7
analogous
#B75731 #B79A31 #91B731
triadic
#B79A31 #31B79A #9A31B7
tetradic
#B79A31 #31B757 #314EB7 #B73191
square
#B79A31 #31B757 #314EB7 #B73191
split-complementary
#B79A31 #3191B7 #5731B7
monochromatic
#564917 #877124 #B79A31 #D1B654 #DECB84

Accessibility & contrast

On white

2.73
#B79A31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B79A31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79A31
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79A31#FFFFFF#000000##000000
##B79A311.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9721
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#C68D85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b79a31;
/* rgb */ color: rgb(183, 154, 49);
/* oklch */ color: oklch(69.4% 0.124 93.1);
Tailwind
colors: {
  custom: {
    50: '#d0b770',
    500: '#b79a31',
    950: '#000000',
  },
}
SCSS
$custom: #b79a31;
$custom-light: #d0b770;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a31",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 47.015,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69378,
    "c": 0.12443,
    "h": 93.1
  },
  "luminance": 0.334
}

Semantic roles & 50–950 ramp

primary
#B79A31
secondary
#7C8DC8
accent
#68E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79A31

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

Preview Lab → · Contrast checker → · Palette generator →

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