#B6A72C#B6A72C

#B6A72C is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.137 H 102.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B6A72C
RGBrgb(182, 167, 44)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 8.2%, 75.8%, 28.6%)
CIE-LABlab(67.85, -7.99, 61.13)
CIE-LCHlch(67.85, 61.65, 97.45°)
OKLaboklab(72.01% -0.0287 0.134)
OKLCHoklch(72.01% 0.137 102.1)
XYZxyz(33.5663, 37.7659, 7.9039)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A72C #2C3BB6
analogous
#B6622C #B6A72C #80B62C
triadic
#B6A72C #2CB6A7 #A72CB6
tetradic
#B6A72C #2CB662 #2C3BB6 #B62C80
square
#B6A72C #2CB662 #2C3BB6 #B62C80
split-complementary
#B6A72C #2C80B6 #622CB6
monochromatic
#534D14 #857A20 #B6A72C #D4C54C #E0D57D

Accessibility & contrast

On white

2.46
#B6A72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B6A72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A72C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A72C#FFFFFF#000000##000000
##B6A72C1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A212
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#C49B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a72c;
/* rgb */ color: rgb(182, 167, 44);
/* oklch */ color: oklch(72.0% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#d0c06f',
    500: '#b6a72c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a72c;
$custom-light: #d0c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a72c",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 53.478,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.13702,
    "h": 102.1
  },
  "luminance": 0.37764
}

Semantic roles & 50–950 ramp

primary
#B6A72C
secondary
#767FC8
accent
#55E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A72C

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

Preview Lab → · Contrast checker → · Palette generator →

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