#B79B2F#B79B2F

#B79B2F is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.126 H 93.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B79B2F
RGBrgb(183, 155, 47)
HSLhsl(48, 59%, 45%)
HSVhsv(48, 74%, 72%)
CMYKcmyk(0%, 15.3%, 74.3%, 28.2%)
CIE-LABlab(64.74, -1.03, 57.13)
CIE-LCHlch(64.74, 57.14, 91.03°)
OKLaboklab(69.57% -0.0087 0.126)
OKLCHoklch(69.57% 0.126 93.9)
XYZxyz(31.7646, 33.7170, 7.5237)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79B2F #2F4BB7
analogous
#B7572F #B79B2F #8FB72F
triadic
#B79B2F #2FB79B #9B2FB7
tetradic
#B79B2F #2FB757 #2F4BB7 #B72F8F
square
#B79B2F #2FB757 #2F4BB7 #B72F8F
split-complementary
#B79B2F #2F8FB7 #572FB7
monochromatic
#564916 #867222 #B79B2F #D2B851 #DFCC82

Accessibility & contrast

On white

2.71
#B79B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B79B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79B2F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79B2F#FFFFFF#000000##000000
##B79B2F1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C68E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b79b2f;
/* rgb */ color: rgb(183, 155, 47);
/* oklch */ color: oklch(69.6% 0.126 93.9);
Tailwind
colors: {
  custom: {
    50: '#d1b86f',
    500: '#b79b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b79b2f;
$custom-light: #d1b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b79b2f",
  "rgb": {
    "r": 183,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 47.647,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69573,
    "c": 0.12632,
    "h": 93.9
  },
  "luminance": 0.33715
}

Semantic roles & 50–950 ramp

primary
#B79B2F
secondary
#7A8AC8
accent
#66E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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