#B79D40#B79D40

#B79D40 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.1% C 0.116 H 93.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#B79D40
RGBrgb(183, 157, 64)
HSLhsl(47, 48%, 48%)
HSVhsv(47, 65%, 72%)
CMYKcmyk(0%, 14.2%, 65%, 28.2%)
CIE-LABlab(65.40, -1.18, 50.69)
CIE-LCHlch(65.40, 50.71, 91.33°)
OKLaboklab(70.14% -0.0071 0.1154)
OKLCHoklch(70.14% 0.116 93.5)
XYZxyz(32.5124, 34.5531, 9.8064)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79D40 #405AB7
analogous
#B76140 #B79D40 #95B740
triadic
#B79D40 #40B79D #9D40B7
tetradic
#B79D40 #40B761 #405AB7 #B74095
square
#B79D40 #40B761 #405AB7 #B74095
split-complementary
#B79D40 #4095B7 #6140B7
monochromatic
#5C4F20 #8A7630 #B79D40 #CBB569 #DBCC97

Accessibility & contrast

On white

2.65
#B79D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#B79D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79D40
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79D40#FFFFFF#000000##000000
##B79D401.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#B3A244
Tritanopia (blue-blind)
#C59189
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b79d40;
/* rgb */ color: rgb(183, 157, 64);
/* oklch */ color: oklch(70.1% 0.116 93.5);
Tailwind
colors: {
  custom: {
    50: '#d0b979',
    500: '#b79d40',
    950: '#000000',
  },
}
SCSS
$custom: #b79d40;
$custom-light: #d0b979;
$custom-dark: #000000;
JSON
{
  "hex": "#b79d40",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 46.891,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70138,
    "c": 0.11562,
    "h": 93.5
  },
  "luminance": 0.34551
}

Semantic roles & 50–950 ramp

primary
#B79D40
secondary
#8D99C6
accent
#6ED850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B79D40

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

Preview Lab → · Contrast checker → · Palette generator →

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