#B79C2E#B79C2E

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

Color values

HEX#B79C2E
RGBrgb(183, 156, 46)
HSLhsl(48, 60%, 45%)
HSVhsv(48, 75%, 72%)
CMYKcmyk(0%, 14.8%, 74.9%, 28.2%)
CIE-LABlab(65.00, -1.61, 57.76)
CIE-LCHlch(65.00, 57.78, 91.60°)
OKLaboklab(69.78% -0.0104 0.1272)
OKLCHoklch(69.78% 0.128 94.7)
XYZxyz(31.9118, 34.0433, 7.4744)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79C2E #2E49B7
analogous
#B7572E #B79C2E #8EB72E
triadic
#B79C2E #2EB79C #9C2EB7
tetradic
#B79C2E #2EB757 #2E49B7 #B72E8E
square
#B79C2E #2EB757 #2E49B7 #B72E8E
split-complementary
#B79C2E #2E8EB7 #572EB7
monochromatic
#554915 #867222 #B79C2E #D3B94F #DFCC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79C2E#FFFFFF#000000##000000
##B79C2E1.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)
#AD991B
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#C68F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79c2e;
/* rgb */ color: rgb(183, 156, 46);
/* oklch */ color: oklch(69.8% 0.128 94.7);
Tailwind
colors: {
  custom: {
    50: '#d1b86f',
    500: '#b79c2e',
    950: '#000000',
  },
}
SCSS
$custom: #b79c2e;
$custom-light: #d1b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b79c2e",
  "rgb": {
    "r": 183,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 48.175,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69776,
    "c": 0.12759,
    "h": 94.7
  },
  "luminance": 0.34041
}

Semantic roles & 50–950 ramp

primary
#B79C2E
secondary
#7988C8
accent
#64E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B79C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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