#B79F2F#B79F2F

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

Color values

HEX#B79F2F
RGBrgb(183, 159, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 72%)
CMYKcmyk(0%, 13.1%, 74.3%, 28.2%)
CIE-LABlab(65.80, -3.17, 58.16)
CIE-LCHlch(65.80, 58.24, 93.12°)
OKLaboklab(70.42% -0.0148 0.1282)
OKLCHoklch(70.42% 0.129 96.6)
XYZxyz(32.4413, 35.0705, 7.7493)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79F2F #2F47B7
analogous
#B75B2F #B79F2F #8BB72F
triadic
#B79F2F #2FB79F #9F2FB7
tetradic
#B79F2F #2FB75B #2F47B7 #B72F8B
square
#B79F2F #2FB75B #2F47B7 #B72F8B
split-complementary
#B79F2F #2F8BB7 #5B2FB7
monochromatic
#564A16 #867522 #B79F2F #D2BB51 #DFCE82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79F2F#FFFFFF#000000##000000
##B79F2F1.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)
#AF9B1C
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#C69389
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b79f2f;
/* rgb */ color: rgb(183, 159, 47);
/* oklch */ color: oklch(70.4% 0.129 96.6);
Tailwind
colors: {
  custom: {
    50: '#d0bb70',
    500: '#b79f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b79f2f;
$custom-light: #d0bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b79f2f",
  "rgb": {
    "r": 183,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 49.412,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.12905,
    "h": 96.6
  },
  "luminance": 0.35069
}

Semantic roles & 50–950 ramp

primary
#B79F2F
secondary
#7A88C8
accent
#61E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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