#B6A52C#B6A52C

#B6A52C is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.135 H 100.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B6A52C
RGBrgb(182, 165, 44)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 9.3%, 75.8%, 28.6%)
CIE-LABlab(67.31, -6.94, 60.63)
CIE-LCHlch(67.31, 61.03, 96.53°)
OKLaboklab(71.58% -0.0257 0.1329)
OKLCHoklch(71.58% 0.135 100.9)
XYZxyz(33.2027, 37.0387, 7.7827)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A52C #2C3DB6
analogous
#B6602C #B6A52C #82B62C
triadic
#B6A52C #2CB6A5 #A52CB6
tetradic
#B6A52C #2CB660 #2C3DB6 #B62C82
square
#B6A52C #2CB660 #2C3DB6 #B62C82
split-complementary
#B6A52C #2C82B6 #602CB6
monochromatic
#534C14 #857820 #B6A52C #D4C34C #E0D37D

Accessibility & contrast

On white

2.50
#B6A52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B6A52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A52C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A52C#FFFFFF#000000##000000
##B6A52C1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A013
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a52c;
/* rgb */ color: rgb(182, 165, 44);
/* oklch */ color: oklch(71.6% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#d0bf6f',
    500: '#b6a52c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a52c;
$custom-light: #d0bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a52c",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 52.609,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7158,
    "c": 0.13537,
    "h": 100.9
  },
  "luminance": 0.37037
}

Semantic roles & 50–950 ramp

primary
#B6A52C
secondary
#7680C8
accent
#57E444
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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