#B79C31#B79C31

#B79C31 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.8% C 0.126 H 94.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B79C31
RGBrgb(183, 156, 49)
HSLhsl(48, 58%, 45%)
HSVhsv(48, 73%, 72%)
CMYKcmyk(0%, 14.8%, 73.2%, 28.2%)
CIE-LABlab(65.02, -1.47, 56.63)
CIE-LCHlch(65.02, 56.65, 91.49°)
OKLaboklab(69.8% -0.0097 0.1254)
OKLCHoklch(69.8% 0.126 94.4)
XYZxyz(31.9730, 34.0678, 7.7968)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79C31 #314CB7
analogous
#B75931 #B79C31 #8FB731
triadic
#B79C31 #31B79C #9C31B7
tetradic
#B79C31 #31B759 #314CB7 #B7318F
square
#B79C31 #31B759 #314CB7 #B7318F
split-complementary
#B79C31 #318FB7 #5931B7
monochromatic
#564A17 #877324 #B79C31 #D1B854 #DECC84

Accessibility & contrast

On white

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

On black

7.81
#B79C31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79C31
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79C31#FFFFFF#000000##000000
##B79C311.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#C69087
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79c31;
/* rgb */ color: rgb(183, 156, 49);
/* oklch */ color: oklch(69.8% 0.126 94.4);
Tailwind
colors: {
  custom: {
    50: '#d0b870',
    500: '#b79c31',
    950: '#000000',
  },
}
SCSS
$custom: #b79c31;
$custom-light: #d0b870;
$custom-dark: #000000;
JSON
{
  "hex": "#b79c31",
  "rgb": {
    "r": 183,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 47.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69798,
    "c": 0.12573,
    "h": 94.4
  },
  "luminance": 0.34066
}

Semantic roles & 50–950 ramp

primary
#B79C31
secondary
#7C8BC8
accent
#66E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B79C31

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

Preview Lab → · Contrast checker → · Palette generator →

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