#B79731#B79731

#B79731 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.8% C 0.123 H 90.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B79731
RGBrgb(183, 151, 49)
HSLhsl(46, 58%, 45%)
HSVhsv(46, 73%, 72%)
CMYKcmyk(0%, 17.5%, 73.2%, 28.2%)
CIE-LABlab(63.69, 1.23, 55.33)
CIE-LCHlch(63.69, 55.35, 88.72°)
OKLaboklab(68.75% -0.002 0.1226)
OKLCHoklch(68.75% 0.123 90.9)
XYZxyz(31.1512, 32.4241, 7.5229)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79731 #3151B7
analogous
#B75431 #B79731 #94B731
triadic
#B79731 #31B797 #9731B7
tetradic
#B79731 #31B754 #3151B7 #B73194
square
#B79731 #31B754 #3151B7 #B73194
split-complementary
#B79731 #3194B7 #5431B7
monochromatic
#564717 #876F24 #B79731 #D1B354 #DEC984

Accessibility & contrast

On white

2.81
#B79731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B79731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79731
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79731#FFFFFF#000000##000000
##B797311.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#C68A83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b79731;
/* rgb */ color: rgb(183, 151, 49);
/* oklch */ color: oklch(68.8% 0.123 90.9);
Tailwind
colors: {
  custom: {
    50: '#d1b570',
    500: '#b79731',
    950: '#000000',
  },
}
SCSS
$custom: #b79731;
$custom-light: #d1b570;
$custom-dark: #000000;
JSON
{
  "hex": "#b79731",
  "rgb": {
    "r": 183,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 45.672,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68752,
    "c": 0.12262,
    "h": 90.9
  },
  "luminance": 0.32422
}

Semantic roles & 50–950 ramp

primary
#B79731
secondary
#7C8EC8
accent
#6CE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79731

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

Preview Lab → · Contrast checker → · Palette generator →

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