#B79F2C#B79F2C

#B79F2C is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.131 H 96.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B79F2C
RGBrgb(183, 159, 44)
HSLhsl(50, 61%, 45%)
HSVhsv(50, 76%, 72%)
CMYKcmyk(0%, 13.1%, 76%, 28.2%)
CIE-LABlab(65.79, -3.31, 59.24)
CIE-LCHlch(65.79, 59.33, 93.19°)
OKLaboklab(70.4% -0.0155 0.1299)
OKLCHoklch(70.4% 0.131 96.8)
XYZxyz(32.3829, 35.0471, 7.4415)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79F2C #2C44B7
analogous
#B7592C #B79F2C #8AB72C
triadic
#B79F2C #2CB79F #9F2CB7
tetradic
#B79F2C #2CB759 #2C44B7 #B72C8A
square
#B79F2C #2CB759 #2C44B7 #B72C8A
split-complementary
#B79F2C #2C8AB7 #592CB7
monochromatic
#544914 #867420 #B79F2C #D4BD4C #E0CF7E

Accessibility & contrast

On white

2.62
#B79F2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B79F2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79F2C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79F2C#FFFFFF#000000##000000
##B79F2C1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B16
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#C69289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b79f2c;
/* rgb */ color: rgb(183, 159, 44);
/* oklch */ color: oklch(70.4% 0.131 96.8);
Tailwind
colors: {
  custom: {
    50: '#d1bb6e',
    500: '#b79f2c',
    950: '#000000',
  },
}
SCSS
$custom: #b79f2c;
$custom-light: #d1bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b79f2c",
  "rgb": {
    "r": 183,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 49.64,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.13083,
    "h": 96.8
  },
  "luminance": 0.35045
}

Semantic roles & 50–950 ramp

primary
#B79F2C
secondary
#7685C8
accent
#5FE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B79F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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