#B79C2A#B79C2A

#B79C2A is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.130 H 95.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B79C2A
RGBrgb(183, 156, 42)
HSLhsl(49, 63%, 44%)
HSVhsv(49, 77%, 72%)
CMYKcmyk(0%, 14.8%, 77%, 28.2%)
CIE-LABlab(64.97, -1.78, 59.19)
CIE-LCHlch(64.97, 59.22, 91.72°)
OKLaboklab(69.75% -0.0113 0.1294)
OKLCHoklch(69.75% 0.13 95)
XYZxyz(31.8366, 34.0132, 7.0784)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79C2A #2A45B7
analogous
#B7562A #B79C2A #8CB72A
triadic
#B79C2A #2AB79C #9C2AB7
tetradic
#B79C2A #2AB756 #2A45B7 #B72A8C
square
#B79C2A #2AB756 #2A45B7 #B72A8C
split-complementary
#B79C2A #2A8CB7 #562AB7
monochromatic
#534713 #85721F #B79C2A #D5BA49 #E1CD7B

Accessibility & contrast

On white

2.69
#B79C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B79C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79C2A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79C2A#FFFFFF#000000##000000
##B79C2A1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9913
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#C68F86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79c2a;
/* rgb */ color: rgb(183, 156, 42);
/* oklch */ color: oklch(69.8% 0.130 95.0);
Tailwind
colors: {
  custom: {
    50: '#d1b86d',
    500: '#b79c2a',
    950: '#000000',
  },
}
SCSS
$custom: #b79c2a;
$custom-light: #d1b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b79c2a",
  "rgb": {
    "r": 183,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 48.511,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6975,
    "c": 0.1299,
    "h": 95
  },
  "luminance": 0.34011
}

Semantic roles & 50–950 ramp

primary
#B79C2A
secondary
#7484C9
accent
#61E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B79C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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