#B79E31#B79E31

#B79E31 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.2% C 0.127 H 95.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B79E31
RGBrgb(183, 158, 49)
HSLhsl(49, 58%, 45%)
HSVhsv(49, 73%, 72%)
CMYKcmyk(0%, 13.7%, 73.2%, 28.2%)
CIE-LABlab(65.55, -2.55, 57.15)
CIE-LCHlch(65.55, 57.21, 92.55°)
OKLaboklab(70.22% -0.0128 0.1265)
OKLCHoklch(70.22% 0.127 95.8)
XYZxyz(32.3113, 34.7445, 7.9096)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79E31 #314AB7
analogous
#B75B31 #B79E31 #8DB731
triadic
#B79E31 #31B79E #9E31B7
tetradic
#B79E31 #31B75B #314AB7 #B7318D
square
#B79E31 #31B75B #314AB7 #B7318D
split-complementary
#B79E31 #318DB7 #5B31B7
monochromatic
#564B17 #877424 #B79E31 #D1BA54 #DECD84

Accessibility & contrast

On white

2.64
#B79E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B79E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79E31
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79E31#FFFFFF#000000##000000
##B79E311.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1F
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#C69288
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b79e31;
/* rgb */ color: rgb(183, 158, 49);
/* oklch */ color: oklch(70.2% 0.127 95.8);
Tailwind
colors: {
  custom: {
    50: '#d0ba70',
    500: '#b79e31',
    950: '#000000',
  },
}
SCSS
$custom: #b79e31;
$custom-light: #d0ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#b79e31",
  "rgb": {
    "r": 183,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 48.806,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.12709,
    "h": 95.8
  },
  "luminance": 0.34743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B79E31

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

Preview Lab → · Contrast checker → · Palette generator →

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