#B79A2E#B79A2E

#B79A2E 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#B79A2E
RGBrgb(183, 154, 46)
HSLhsl(47, 60%, 45%)
HSVhsv(47, 75%, 72%)
CMYKcmyk(0%, 15.8%, 74.9%, 28.2%)
CIE-LABlab(64.47, -0.53, 57.25)
CIE-LCHlch(64.47, 57.25, 90.53°)
OKLaboklab(69.36% -0.0074 0.1261)
OKLCHoklch(69.36% 0.126 93.3)
XYZxyz(31.5789, 33.3776, 7.3634)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79A2E #2E4BB7
analogous
#B7552E #B79A2E #90B72E
triadic
#B79A2E #2EB79A #9A2EB7
tetradic
#B79A2E #2EB755 #2E4BB7 #B72E90
square
#B79A2E #2EB755 #2E4BB7 #B72E90
split-complementary
#B79A2E #2E90B7 #552EB7
monochromatic
#554815 #867122 #B79A2E #D3B74F #DFCB80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79A2E#FFFFFF#000000##000000
##B79A2E1.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)
#AB971C
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#C68D85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b79a2e;
/* rgb */ color: rgb(183, 154, 46);
/* oklch */ color: oklch(69.4% 0.126 93.3);
Tailwind
colors: {
  custom: {
    50: '#d1b76e',
    500: '#b79a2e',
    950: '#000000',
  },
}
SCSS
$custom: #b79a2e;
$custom-light: #d1b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b79a2e",
  "rgb": {
    "r": 183,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 47.299,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.12629,
    "h": 93.3
  },
  "luminance": 0.33376
}

Semantic roles & 50–950 ramp

primary
#B79A2E
secondary
#798AC8
accent
#66E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B79A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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