#B79F2A#B79F2A

#B79F2A is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.132 H 96.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B79F2A
RGBrgb(183, 159, 42)
HSLhsl(50, 63%, 44%)
HSVhsv(50, 77%, 72%)
CMYKcmyk(0%, 13.1%, 77%, 28.2%)
CIE-LABlab(65.77, -3.39, 59.93)
CIE-LCHlch(65.77, 60.03, 93.24°)
OKLaboklab(70.38% -0.0159 0.131)
OKLCHoklch(70.38% 0.132 96.9)
XYZxyz(32.3462, 35.0325, 7.2482)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79F2A #2A42B7
analogous
#B7592A #B79F2A #89B72A
triadic
#B79F2A #2AB79F #9F2AB7
tetradic
#B79F2A #2AB759 #2A42B7 #B72A89
square
#B79F2A #2AB759 #2A42B7 #B72A89
split-complementary
#B79F2A #2A89B7 #592AB7
monochromatic
#534913 #85741F #B79F2A #D5BD49 #E1CF7B

Accessibility & contrast

On white

2.62
#B79F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B79F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79F2A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79F2A#FFFFFF#000000##000000
##B79F2A1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B12
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#C69289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b79f2a;
/* rgb */ color: rgb(183, 159, 42);
/* oklch */ color: oklch(70.4% 0.132 96.9);
Tailwind
colors: {
  custom: {
    50: '#d1bb6d',
    500: '#b79f2a',
    950: '#000000',
  },
}
SCSS
$custom: #b79f2a;
$custom-light: #d1bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b79f2a",
  "rgb": {
    "r": 183,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 49.787,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70384,
    "c": 0.13194,
    "h": 96.9
  },
  "luminance": 0.35031
}

Semantic roles & 50–950 ramp

primary
#B79F2A
secondary
#7482C9
accent
#5EE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B79F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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