#B6A73F#B6A73F

#B6A73F is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.124 H 101.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B6A73F
RGBrgb(182, 167, 63)
HSLhsl(52, 49%, 48%)
HSVhsv(52, 65%, 71%)
CMYKcmyk(0%, 8.2%, 65.4%, 28.6%)
CIE-LABlab(67.98, -7.01, 53.86)
CIE-LCHlch(67.98, 54.31, 97.42°)
OKLaboklab(72.16% -0.0239 0.122)
OKLCHoklch(72.16% 0.124 101.1)
XYZxyz(34.0087, 37.9428, 10.2340)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A73F #3F4EB6
analogous
#B66B3F #B6A73F #89B63F
triadic
#B6A73F #3FB6A7 #A73FB6
tetradic
#B6A73F #3FB66B #3F4EB6 #B63F89
square
#B6A73F #3FB66B #3F4EB6 #B63F89
split-complementary
#B6A73F #3F89B6 #6B3FB6
monochromatic
#5B5420 #897D2F #B6A73F #CBBE68 #DAD295

Accessibility & contrast

On white

2.45
#B6A73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B6A73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A73F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A73F#FFFFFF#000000##000000
##B6A73F1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A232
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#C39C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a73f;
/* rgb */ color: rgb(182, 167, 63);
/* oklch */ color: oklch(72.2% 0.124 101.1);
Tailwind
colors: {
  custom: {
    50: '#cfc079',
    500: '#b6a73f',
    950: '#000000',
  },
}
SCSS
$custom: #b6a73f;
$custom-light: #cfc079;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a73f",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 52.437,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72156,
    "c": 0.12428,
    "h": 101.1
  },
  "luminance": 0.37941
}

Semantic roles & 50–950 ramp

primary
#B6A73F
secondary
#8B92C6
accent
#61D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A73F

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

Preview Lab → · Contrast checker → · Palette generator →

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