#B79D2E#B79D2E

#B79D2E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 70.0% C 0.128 H 95.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B79D2E
RGBrgb(183, 157, 46)
HSLhsl(49, 60%, 45%)
HSVhsv(49, 75%, 72%)
CMYKcmyk(0%, 14.2%, 74.9%, 28.2%)
CIE-LABlab(65.26, -2.15, 58.01)
CIE-LCHlch(65.26, 58.05, 92.12°)
OKLaboklab(69.99% -0.012 0.1277)
OKLCHoklch(69.99% 0.128 95.4)
XYZxyz(32.0802, 34.3803, 7.5306)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79D2E #2E48B7
analogous
#B7582E #B79D2E #8DB72E
triadic
#B79D2E #2EB79D #9D2EB7
tetradic
#B79D2E #2EB758 #2E48B7 #B72E8D
square
#B79D2E #2EB758 #2E48B7 #B72E8D
split-complementary
#B79D2E #2E8DB7 #582EB7
monochromatic
#554915 #867322 #B79D2E #D3BA4F #DFCD80

Accessibility & contrast

On white

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

On black

7.88
#B79D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79D2E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79D2E#FFFFFF#000000##000000
##B79D2E1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b79d2e;
/* rgb */ color: rgb(183, 157, 46);
/* oklch */ color: oklch(70.0% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#d1b96f',
    500: '#b79d2e',
    950: '#000000',
  },
}
SCSS
$custom: #b79d2e;
$custom-light: #d1b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b79d2e",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 48.613,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69987,
    "c": 0.12826,
    "h": 95.4
  },
  "luminance": 0.34378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B79D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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