#B79B2A#B79B2A

#B79B2A is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.5% C 0.129 H 94.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B79B2A
RGBrgb(183, 155, 42)
HSLhsl(48, 63%, 44%)
HSVhsv(48, 77%, 72%)
CMYKcmyk(0%, 15.3%, 77%, 28.2%)
CIE-LABlab(64.71, -1.24, 58.94)
CIE-LCHlch(64.71, 58.96, 91.21°)
OKLaboklab(69.54% -0.0098 0.1289)
OKLCHoklch(69.54% 0.129 94.4)
XYZxyz(31.6694, 33.6790, 7.0226)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79B2A #2A46B7
analogous
#B7552A #B79B2A #8DB72A
triadic
#B79B2A #2AB79B #9B2AB7
tetradic
#B79B2A #2AB755 #2A46B7 #B72A8D
square
#B79B2A #2AB755 #2A46B7 #B72A8D
split-complementary
#B79B2A #2A8DB7 #552AB7
monochromatic
#534713 #85711F #B79B2A #D5B949 #E1CC7B

Accessibility & contrast

On white

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

On black

7.74
#B79B2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79B2A
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79B2A#FFFFFF#000000##000000
##B79B2A1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#C68E85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79b2a;
/* rgb */ color: rgb(183, 155, 42);
/* oklch */ color: oklch(69.5% 0.129 94.4);
Tailwind
colors: {
  custom: {
    50: '#d1b86d',
    500: '#b79b2a',
    950: '#000000',
  },
}
SCSS
$custom: #b79b2a;
$custom-light: #d1b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b79b2a",
  "rgb": {
    "r": 183,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 48.085,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.12924,
    "h": 94.4
  },
  "luminance": 0.33677
}

Semantic roles & 50–950 ramp

primary
#B79B2A
secondary
#7485C9
accent
#63E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B79B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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