#B79D2A#B79D2A

#B79D2A is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.131 H 95.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B79D2A
RGBrgb(183, 157, 42)
HSLhsl(49, 63%, 44%)
HSVhsv(49, 77%, 72%)
CMYKcmyk(0%, 14.2%, 77%, 28.2%)
CIE-LABlab(65.24, -2.32, 59.44)
CIE-LCHlch(65.24, 59.48, 92.23°)
OKLaboklab(69.96% -0.0129 0.1299)
OKLCHoklch(69.96% 0.131 95.7)
XYZxyz(32.0050, 34.3502, 7.1345)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79D2A #2A44B7
analogous
#B7572A #B79D2A #8BB72A
triadic
#B79D2A #2AB79D #9D2AB7
tetradic
#B79D2A #2AB757 #2A44B7 #B72A8B
square
#B79D2A #2AB757 #2A44B7 #B72A8B
split-complementary
#B79D2A #2A8BB7 #572AB7
monochromatic
#534813 #85721F #B79D2A #D5BB49 #E1CE7B

Accessibility & contrast

On white

2.67
#B79D2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B79D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79D2A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79D2A#FFFFFF#000000##000000
##B79D2A1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A13
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#C69087
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79d2a;
/* rgb */ color: rgb(183, 157, 42);
/* oklch */ color: oklch(70.0% 0.131 95.7);
Tailwind
colors: {
  custom: {
    50: '#d1b96d',
    500: '#b79d2a',
    950: '#000000',
  },
}
SCSS
$custom: #b79d2a;
$custom-light: #d1b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b79d2a",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 48.936,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.13057,
    "h": 95.7
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#B79D2A
secondary
#7484C9
accent
#60E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B79D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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