#B6A72D#B6A72D

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

Color values

HEX#B6A72D
RGBrgb(182, 167, 45)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 71%)
CMYKcmyk(0%, 8.2%, 75.3%, 28.6%)
CIE-LABlab(67.85, -7.95, 60.79)
CIE-LCHlch(67.85, 61.31, 97.45°)
OKLaboklab(72.02% -0.0285 0.1335)
OKLCHoklch(72.02% 0.136 102)
XYZxyz(33.5853, 37.7735, 8.0041)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A72D #2D3CB6
analogous
#B6632D #B6A72D #80B62D
triadic
#B6A72D #2DB6A7 #A72DB6
tetradic
#B6A72D #2DB663 #2D3CB6 #B62D80
square
#B6A72D #2DB663 #2D3CB6 #B62D80
split-complementary
#B6A72D #2D80B6 #632DB6
monochromatic
#544D15 #857A21 #B6A72D #D3C44D #DFD57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A72D#FFFFFF#000000##000000
##B6A72D1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6a72d;
/* rgb */ color: rgb(182, 167, 45);
/* oklch */ color: oklch(72.0% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#d0c06f',
    500: '#b6a72d',
    950: '#000000',
  },
}
SCSS
$custom: #b6a72d;
$custom-light: #d0c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a72d",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 53.431,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.13645,
    "h": 102
  },
  "luminance": 0.37772
}

Semantic roles & 50–950 ramp

primary
#B6A72D
secondary
#7780C8
accent
#56E344
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A72D

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

Preview Lab → · Contrast checker → · Palette generator →

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