#B79931#B79931

#B79931 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.124 H 92.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B79931
RGBrgb(183, 153, 49)
HSLhsl(47, 58%, 45%)
HSVhsv(47, 73%, 72%)
CMYKcmyk(0%, 16.4%, 73.2%, 28.2%)
CIE-LABlab(64.22, 0.15, 55.85)
CIE-LCHlch(64.22, 55.85, 89.85°)
OKLaboklab(69.17% -0.0051 0.1237)
OKLCHoklch(69.17% 0.124 92.4)
XYZxyz(31.4758, 33.0733, 7.6311)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79931 #314FB7
analogous
#B75631 #B79931 #92B731
triadic
#B79931 #31B799 #9931B7
tetradic
#B79931 #31B756 #314FB7 #B73192
square
#B79931 #31B756 #314FB7 #B73192
split-complementary
#B79931 #3192B7 #5631B7
monochromatic
#564817 #877124 #B79931 #D1B554 #DECA84

Accessibility & contrast

On white

2.76
#B79931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B79931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79931
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79931#FFFFFF#000000##000000
##B799311.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9721
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#C68C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b79931;
/* rgb */ color: rgb(183, 153, 49);
/* oklch */ color: oklch(69.2% 0.124 92.4);
Tailwind
colors: {
  custom: {
    50: '#d1b670',
    500: '#b79931',
    950: '#000000',
  },
}
SCSS
$custom: #b79931;
$custom-light: #d1b670;
$custom-dark: #000000;
JSON
{
  "hex": "#b79931",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 46.567,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69169,
    "c": 0.1238,
    "h": 92.4
  },
  "luminance": 0.33071
}

Semantic roles & 50–950 ramp

primary
#B79931
secondary
#7C8DC8
accent
#69E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79931

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

Preview Lab → · Contrast checker → · Palette generator →

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