#B79A3B#B79A3B

#B79A3B is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.5% C 0.117 H 91.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B79A3B
RGBrgb(183, 154, 59)
HSLhsl(46, 51%, 47%)
HSVhsv(46, 68%, 72%)
CMYKcmyk(0%, 15.8%, 67.8%, 28.2%)
CIE-LABlab(64.56, 0.14, 52.02)
CIE-LCHlch(64.56, 52.02, 89.85°)
OKLaboklab(69.46% -0.0039 0.1174)
OKLCHoklch(69.46% 0.117 91.9)
XYZxyz(31.8751, 33.4960, 8.9233)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A3B #3B58B7
analogous
#B75C3B #B79A3B #96B73B
triadic
#B79A3B #3BB79A #9A3BB7
tetradic
#B79A3B #3BB75C #3B58B7 #B73B96
square
#B79A3B #3BB75C #3B58B7 #B73B96
split-complementary
#B79A3B #3B96B7 #5C3BB7
monochromatic
#5A4C1D #89732C #B79A3B #CDB463 #DCCA91

Accessibility & contrast

On white

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

On black

7.70
#B79A3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79A3B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79A3B#FFFFFF#000000##000000
##B79A3B1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b79a3b;
/* rgb */ color: rgb(183, 154, 59);
/* oklch */ color: oklch(69.5% 0.117 91.9);
Tailwind
colors: {
  custom: {
    50: '#d0b776',
    500: '#b79a3b',
    950: '#000000',
  },
}
SCSS
$custom: #b79a3b;
$custom-light: #d0b776;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a3b",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 59
  },
  "hsl": {
    "h": 45.968,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69462,
    "c": 0.11748,
    "h": 91.9
  },
  "luminance": 0.33494
}

Semantic roles & 50–950 ramp

primary
#B79A3B
secondary
#8796C6
accent
#6EDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B79A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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