#B79B3C#B79B3C

#B79B3C is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.7% C 0.117 H 92.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B79B3C
RGBrgb(183, 155, 60)
HSLhsl(46, 51%, 48%)
HSVhsv(46, 67%, 72%)
CMYKcmyk(0%, 15.3%, 67.2%, 28.2%)
CIE-LABlab(64.83, -0.34, 51.87)
CIE-LCHlch(64.83, 51.87, 90.38°)
OKLaboklab(69.68% -0.0052 0.1173)
OKLCHoklch(69.68% 0.117 92.5)
XYZxyz(32.0670, 33.8380, 9.1164)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79B3C #3C58B7
analogous
#B75D3C #B79B3C #96B73C
triadic
#B79B3C #3CB79B #9B3CB7
tetradic
#B79B3C #3CB75D #3C58B7 #B73C96
square
#B79B3C #3CB75D #3C58B7 #B73C96
split-complementary
#B79B3C #3C96B7 #5D3CB7
monochromatic
#5B4D1E #89742D #B79B3C #CCB464 #DBCB92

Accessibility & contrast

On white

2.70
#B79B3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B79B3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79B3C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79B3C#FFFFFF#000000##000000
##B79B3C1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9930
Deuteranopia (green-blind)
#B2A141
Tritanopia (blue-blind)
#C58F87
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79b3c;
/* rgb */ color: rgb(183, 155, 60);
/* oklch */ color: oklch(69.7% 0.117 92.5);
Tailwind
colors: {
  custom: {
    50: '#d0b876',
    500: '#b79b3c',
    950: '#000000',
  },
}
SCSS
$custom: #b79b3c;
$custom-light: #d0b876;
$custom-dark: #000000;
JSON
{
  "hex": "#b79b3c",
  "rgb": {
    "r": 183,
    "g": 155,
    "b": 60
  },
  "hsl": {
    "h": 46.341,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.11737,
    "h": 92.5
  },
  "luminance": 0.33836
}

Semantic roles & 50–950 ramp

primary
#B79B3C
secondary
#8896C6
accent
#6EDA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B79B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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