#B79C2F#B79C2F

#B79C2F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.127 H 94.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B79C2F
RGBrgb(183, 156, 47)
HSLhsl(48, 59%, 45%)
HSVhsv(48, 74%, 72%)
CMYKcmyk(0%, 14.8%, 74.3%, 28.2%)
CIE-LABlab(65.00, -1.56, 57.39)
CIE-LCHlch(65.00, 57.41, 91.56°)
OKLaboklab(69.78% -0.0102 0.1266)
OKLCHoklch(69.78% 0.127 94.6)
XYZxyz(31.9317, 34.0512, 7.5794)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79C2F #2F4AB7
analogous
#B7582F #B79C2F #8EB72F
triadic
#B79C2F #2FB79C #9C2FB7
tetradic
#B79C2F #2FB758 #2F4AB7 #B72F8E
square
#B79C2F #2FB758 #2F4AB7 #B72F8E
split-complementary
#B79C2F #2F8EB7 #582FB7
monochromatic
#564916 #867222 #B79C2F #D2B951 #DFCC82

Accessibility & contrast

On white

2.69
#B79C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B79C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79C2F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79C2F#FFFFFF#000000##000000
##B79C2F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C68F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79c2f;
/* rgb */ color: rgb(183, 156, 47);
/* oklch */ color: oklch(69.8% 0.127 94.6);
Tailwind
colors: {
  custom: {
    50: '#d1b86f',
    500: '#b79c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b79c2f;
$custom-light: #d1b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b79c2f",
  "rgb": {
    "r": 183,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 48.088,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.12698,
    "h": 94.6
  },
  "luminance": 0.34049
}

Semantic roles & 50–950 ramp

primary
#B79C2F
secondary
#7A89C8
accent
#65E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B79C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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