#B79E2A#B79E2A

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

Color values

HEX#B79E2A
RGBrgb(183, 158, 42)
HSLhsl(49, 63%, 44%)
HSVhsv(49, 77%, 72%)
CMYKcmyk(0%, 13.7%, 77%, 28.2%)
CIE-LABlab(65.51, -2.85, 59.69)
CIE-LCHlch(65.51, 59.75, 92.74°)
OKLaboklab(70.17% -0.0144 0.1305)
OKLCHoklch(70.17% 0.131 96.3)
XYZxyz(32.1749, 34.6899, 7.1911)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79E2A #2A43B7
analogous
#B7582A #B79E2A #8AB72A
triadic
#B79E2A #2AB79E #9E2AB7
tetradic
#B79E2A #2AB758 #2A43B7 #B72A8A
square
#B79E2A #2AB758 #2A43B7 #B72A8A
split-complementary
#B79E2A #2A8AB7 #582AB7
monochromatic
#534813 #85731F #B79E2A #D5BC49 #E1CF7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B79E2A#FFFFFF#000000##000000
##B79E2A1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b79e2a;
/* rgb */ color: rgb(183, 158, 42);
/* oklch */ color: oklch(70.2% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#d1ba6d',
    500: '#b79e2a',
    950: '#000000',
  },
}
SCSS
$custom: #b79e2a;
$custom-light: #d1ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b79e2a",
  "rgb": {
    "r": 183,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 49.362,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70172,
    "c": 0.13125,
    "h": 96.3
  },
  "luminance": 0.34688
}

Semantic roles & 50–950 ramp

primary
#B79E2A
secondary
#7483C9
accent
#5FE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B79E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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