#B79A3C#B79A3C

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

Color values

HEX#B79A3C
RGBrgb(183, 154, 60)
HSLhsl(46, 51%, 48%)
HSVhsv(46, 67%, 72%)
CMYKcmyk(0%, 15.8%, 67.2%, 28.2%)
CIE-LABlab(64.57, 0.20, 51.59)
CIE-LCHlch(64.57, 51.59, 89.78°)
OKLaboklab(69.47% -0.0036 0.1167)
OKLCHoklch(69.47% 0.117 91.8)
XYZxyz(31.9013, 33.5065, 9.0612)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A3C #3C59B7
analogous
#B75D3C #B79A3C #96B73C
triadic
#B79A3C #3CB79A #9A3CB7
tetradic
#B79A3C #3CB75D #3C59B7 #B73C96
square
#B79A3C #3CB75D #3C59B7 #B73C96
split-complementary
#B79A3C #3C96B7 #5D3CB7
monochromatic
#5B4C1E #89732D #B79A3C #CCB464 #DBCA92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79A3C#FFFFFF#000000##000000
##B79A3C1.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)
#AA9831
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#C68E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79a3c;
/* rgb */ color: rgb(183, 154, 60);
/* oklch */ color: oklch(69.5% 0.117 91.8);
Tailwind
colors: {
  custom: {
    50: '#d0b776',
    500: '#b79a3c',
    950: '#000000',
  },
}
SCSS
$custom: #b79a3c;
$custom-light: #d0b776;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a3c",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 60
  },
  "hsl": {
    "h": 45.854,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69471,
    "c": 0.11672,
    "h": 91.8
  },
  "luminance": 0.33505
}

Semantic roles & 50–950 ramp

primary
#B79A3C
secondary
#8897C6
accent
#6FDA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B79A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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