#B79A42#B79A42

#B79A42 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.5% C 0.112 H 90.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B79A42
RGBrgb(183, 154, 66)
HSLhsl(45, 47%, 49%)
HSVhsv(45, 64%, 72%)
CMYKcmyk(0%, 15.8%, 63.9%, 28.2%)
CIE-LABlab(64.62, 0.57, 48.94)
CIE-LCHlch(64.62, 48.94, 89.33°)
OKLaboklab(69.53% -0.0018 0.112)
OKLCHoklch(69.53% 0.112 90.9)
XYZxyz(32.0690, 33.5736, 9.9444)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A42 #425FB7
analogous
#B76042 #B79A42 #9AB742
triadic
#B79A42 #42B79A #9A42B7
tetradic
#B79A42 #42B760 #425FB7 #B7429A
square
#B79A42 #42B760 #425FB7 #B7429A
split-complementary
#B79A42 #429AB7 #6042B7
monochromatic
#5D4E22 #8A7432 #B79A42 #CAB36C #DACA99

Accessibility & contrast

On white

2.72
#B79A42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B79A42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79A42
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79A42#FFFFFF#000000##000000
##B79A421.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9838
Deuteranopia (green-blind)
#B1A046
Tritanopia (blue-blind)
#C58E87
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79a42;
/* rgb */ color: rgb(183, 154, 66);
/* oklch */ color: oklch(69.5% 0.112 90.9);
Tailwind
colors: {
  custom: {
    50: '#d0b77a',
    500: '#b79a42',
    950: '#000000',
  },
}
SCSS
$custom: #b79a42;
$custom-light: #d0b77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a42",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 45.128,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.11197,
    "h": 90.9
  },
  "luminance": 0.33572
}

Semantic roles & 50–950 ramp

primary
#B79A42
secondary
#8F9CC6
accent
#72D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B79A42

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

Preview Lab → · Contrast checker → · Palette generator →

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