#B79F31#B79F31

#B79F31 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.128 H 96.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B79F31
RGBrgb(183, 159, 49)
HSLhsl(49, 58%, 45%)
HSVhsv(49, 73%, 72%)
CMYKcmyk(0%, 13.1%, 73.2%, 28.2%)
CIE-LABlab(65.82, -3.08, 57.41)
CIE-LCHlch(65.82, 57.49, 93.07°)
OKLaboklab(70.43% -0.0143 0.127)
OKLCHoklch(70.43% 0.128 96.4)
XYZxyz(32.4826, 35.0870, 7.9667)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79F31 #3149B7
analogous
#B75C31 #B79F31 #8CB731
triadic
#B79F31 #31B79F #9F31B7
tetradic
#B79F31 #31B75C #3149B7 #B7318C
square
#B79F31 #31B75C #3149B7 #B7318C
split-complementary
#B79F31 #318CB7 #5C31B7
monochromatic
#564B17 #877524 #B79F31 #D1BB54 #DECE84

Accessibility & contrast

On white

2.62
#B79F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B79F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79F31
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79F31#FFFFFF#000000##000000
##B79F311.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#C69389
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b79f31;
/* rgb */ color: rgb(183, 159, 49);
/* oklch */ color: oklch(70.4% 0.128 96.4);
Tailwind
colors: {
  custom: {
    50: '#d0bb71',
    500: '#b79f31',
    950: '#000000',
  },
}
SCSS
$custom: #b79f31;
$custom-light: #d0bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b79f31",
  "rgb": {
    "r": 183,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 49.254,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70431,
    "c": 0.1278,
    "h": 96.4
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#B79F31
secondary
#7C8AC8
accent
#62E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B79F31

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

Preview Lab → · Contrast checker → · Palette generator →

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