#B79F42#B79F42

#B79F42 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.115 H 94.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B79F42
RGBrgb(183, 159, 66)
HSLhsl(48, 47%, 49%)
HSVhsv(48, 64%, 72%)
CMYKcmyk(0%, 13.1%, 63.9%, 28.2%)
CIE-LABlab(65.95, -2.12, 50.38)
CIE-LCHlch(65.95, 50.43, 92.41°)
OKLaboklab(70.58% -0.0096 0.115)
OKLCHoklch(70.58% 0.115 94.8)
XYZxyz(32.9114, 35.2586, 10.2252)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79F42 #425AB7
analogous
#B76542 #B79F42 #95B742
triadic
#B79F42 #42B79F #9F42B7
tetradic
#B79F42 #42B765 #425AB7 #B74295
square
#B79F42 #42B765 #425AB7 #B74295
split-complementary
#B79F42 #4295B7 #6542B7
monochromatic
#5D5122 #8A7832 #B79F42 #CAB76C #DACD99

Accessibility & contrast

On white

2.61
#B79F42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B79F42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79F42
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79F42#FFFFFF#000000##000000
##B79F421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#B5A346
Tritanopia (blue-blind)
#C5938B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b79f42;
/* rgb */ color: rgb(183, 159, 66);
/* oklch */ color: oklch(70.6% 0.115 94.8);
Tailwind
colors: {
  custom: {
    50: '#d0bb7a',
    500: '#b79f42',
    950: '#000000',
  },
}
SCSS
$custom: #b79f42;
$custom-light: #d0bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b79f42",
  "rgb": {
    "r": 183,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 47.692,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70579,
    "c": 0.11544,
    "h": 94.8
  },
  "luminance": 0.35257
}

Semantic roles & 50–950 ramp

primary
#B79F42
secondary
#8F9AC6
accent
#6DD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B79F42

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

Preview Lab → · Contrast checker → · Palette generator →

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