#B79A2F#B79A2F

#B79A2F is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.4% C 0.126 H 93.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B79A2F
RGBrgb(183, 154, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 74%, 72%)
CMYKcmyk(0%, 15.8%, 74.3%, 28.2%)
CIE-LABlab(64.47, -0.49, 56.88)
CIE-LCHlch(64.47, 56.88, 90.49°)
OKLaboklab(69.36% -0.0071 0.1255)
OKLCHoklch(69.36% 0.126 93.3)
XYZxyz(31.5989, 33.3856, 7.4685)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A2F #2F4CB7
analogous
#B7562F #B79A2F #90B72F
triadic
#B79A2F #2FB79A #9A2FB7
tetradic
#B79A2F #2FB756 #2F4CB7 #B72F90
square
#B79A2F #2FB756 #2F4CB7 #B72F90
split-complementary
#B79A2F #2F90B7 #562FB7
monochromatic
#564816 #867122 #B79A2F #D2B751 #DFCB82

Accessibility & contrast

On white

2.74
#B79A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B79A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79A2F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79A2F#FFFFFF#000000##000000
##B79A2F1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971D
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#C68D85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b79a2f;
/* rgb */ color: rgb(183, 154, 47);
/* oklch */ color: oklch(69.4% 0.126 93.3);
Tailwind
colors: {
  custom: {
    50: '#d1b76f',
    500: '#b79a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b79a2f;
$custom-light: #d1b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a2f",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 47.206,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69364,
    "c": 0.12568,
    "h": 93.3
  },
  "luminance": 0.33384
}

Semantic roles & 50–950 ramp

primary
#B79A2F
secondary
#7A8BC8
accent
#67E245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B79A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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