#B79A3A#B79A3A

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

Color values

HEX#B79A3A
RGBrgb(183, 154, 58)
HSLhsl(46, 52%, 47%)
HSVhsv(46, 68%, 72%)
CMYKcmyk(0%, 15.8%, 68.3%, 28.2%)
CIE-LABlab(64.55, 0.08, 52.45)
CIE-LCHlch(64.55, 52.45, 89.91°)
OKLaboklab(69.45% -0.0042 0.1181)
OKLCHoklch(69.45% 0.118 92)
XYZxyz(31.8494, 33.4858, 8.7880)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A3A #3A57B7
analogous
#B75C3A #B79A3A #96B73A
triadic
#B79A3A #3AB79A #9A3AB7
tetradic
#B79A3A #3AB75C #3A57B7 #B73A96
square
#B79A3A #3AB75C #3A57B7 #B73A96
split-complementary
#B79A3A #3A96B7 #5C3AB7
monochromatic
#5A4C1D #89732B #B79A3A #CDB461 #DCCA90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79A3A#FFFFFF#000000##000000
##B79A3A1.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)
#AA982E
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#C68E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79a3a;
/* rgb */ color: rgb(183, 154, 58);
/* oklch */ color: oklch(69.5% 0.118 92.0);
Tailwind
colors: {
  custom: {
    50: '#d0b775',
    500: '#b79a3a',
    950: '#000000',
  },
}
SCSS
$custom: #b79a3a;
$custom-light: #d0b775;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a3a",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 58
  },
  "hsl": {
    "h": 46.08,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.11822,
    "h": 92
  },
  "luminance": 0.33484
}

Semantic roles & 50–950 ramp

primary
#B79A3A
secondary
#8695C7
accent
#6EDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B79A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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