#B79D31#B79D31

#B79D31 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 70.0% C 0.126 H 95.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B79D31
RGBrgb(183, 157, 49)
HSLhsl(48, 58%, 45%)
HSVhsv(48, 73%, 72%)
CMYKcmyk(0%, 14.2%, 73.2%, 28.2%)
CIE-LABlab(65.28, -2.01, 56.89)
CIE-LCHlch(65.28, 56.93, 92.02°)
OKLaboklab(70.01% -0.0112 0.1259)
OKLCHoklch(70.01% 0.126 95.1)
XYZxyz(32.1415, 34.4047, 7.8530)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79D31 #314BB7
analogous
#B75A31 #B79D31 #8EB731
triadic
#B79D31 #31B79D #9D31B7
tetradic
#B79D31 #31B75A #314BB7 #B7318E
square
#B79D31 #31B75A #314BB7 #B7318E
split-complementary
#B79D31 #318EB7 #5A31B7
monochromatic
#564A17 #877424 #B79D31 #D1B954 #DECD84

Accessibility & contrast

On white

2.66
#B79D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#B79D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79D31
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79D31#FFFFFF#000000##000000
##B79D311.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#C69188
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79d31;
/* rgb */ color: rgb(183, 157, 49);
/* oklch */ color: oklch(70.0% 0.126 95.1);
Tailwind
colors: {
  custom: {
    50: '#d0b970',
    500: '#b79d31',
    950: '#000000',
  },
}
SCSS
$custom: #b79d31;
$custom-light: #d0b970;
$custom-dark: #000000;
JSON
{
  "hex": "#b79d31",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 48.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.1264,
    "h": 95.1
  },
  "luminance": 0.34403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B79D31

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

Preview Lab → · Contrast checker → · Palette generator →

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