#B79E2C#B79E2C

#B79E2C is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.2% C 0.130 H 96.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B79E2C
RGBrgb(183, 158, 44)
HSLhsl(49, 61%, 45%)
HSVhsv(49, 76%, 72%)
CMYKcmyk(0%, 13.7%, 76%, 28.2%)
CIE-LABlab(65.52, -2.77, 58.99)
CIE-LCHlch(65.52, 59.05, 92.69°)
OKLaboklab(70.19% -0.0139 0.1294)
OKLCHoklch(70.19% 0.13 96.2)
XYZxyz(32.2116, 34.7046, 7.3844)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79E2C #2C45B7
analogous
#B7592C #B79E2C #8AB72C
triadic
#B79E2C #2CB79E #9E2CB7
tetradic
#B79E2C #2CB759 #2C45B7 #B72C8A
square
#B79E2C #2CB759 #2C45B7 #B72C8A
split-complementary
#B79E2C #2C8AB7 #592CB7
monochromatic
#544914 #867320 #B79E2C #D4BC4C #E0CE7E

Accessibility & contrast

On white

2.64
#B79E2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B79E2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79E2C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79E2C#FFFFFF#000000##000000
##B79E2C1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B16
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#C69188
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b79e2c;
/* rgb */ color: rgb(183, 158, 44);
/* oklch */ color: oklch(70.2% 0.130 96.2);
Tailwind
colors: {
  custom: {
    50: '#d1ba6e',
    500: '#b79e2c',
    950: '#000000',
  },
}
SCSS
$custom: #b79e2c;
$custom-light: #d1ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b79e2c",
  "rgb": {
    "r": 183,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 49.209,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70185,
    "c": 0.13012,
    "h": 96.2
  },
  "luminance": 0.34703
}

Semantic roles & 50–950 ramp

primary
#B79E2C
secondary
#7685C8
accent
#60E443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B79E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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