#B79D2F#B79D2F

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

Color values

HEX#B79D2F
RGBrgb(183, 157, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 72%)
CMYKcmyk(0%, 14.2%, 74.3%, 28.2%)
CIE-LABlab(65.27, -2.10, 57.64)
CIE-LCHlch(65.27, 57.68, 92.09°)
OKLaboklab(69.99% -0.0117 0.1271)
OKLCHoklch(69.99% 0.128 95.3)
XYZxyz(32.1002, 34.3882, 7.6356)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79D2F #2F49B7
analogous
#B7592F #B79D2F #8DB72F
triadic
#B79D2F #2FB79D #9D2FB7
tetradic
#B79D2F #2FB759 #2F49B7 #B72F8D
square
#B79D2F #2FB759 #2F49B7 #B72F8D
split-complementary
#B79D2F #2F8DB7 #592FB7
monochromatic
#564916 #867322 #B79D2F #D2BA51 #DFCD82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79D2F#FFFFFF#000000##000000
##B79D2F1.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)
#AE9A1C
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#C69087
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b79d2f;
/* rgb */ color: rgb(183, 157, 47);
/* oklch */ color: oklch(70.0% 0.128 95.3);
Tailwind
colors: {
  custom: {
    50: '#d1b96f',
    500: '#b79d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b79d2f;
$custom-light: #d1b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b79d2f",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 48.529,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69994,
    "c": 0.12765,
    "h": 95.3
  },
  "luminance": 0.34386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B79D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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