#B6A52E#B6A52E

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

Color values

HEX#B6A52E
RGBrgb(182, 165, 46)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 71%)
CMYKcmyk(0%, 9.3%, 74.7%, 28.6%)
CIE-LABlab(67.32, -6.85, 59.93)
CIE-LCHlch(67.32, 60.33, 96.52°)
OKLaboklab(71.59% -0.0253 0.1318)
OKLCHoklch(71.59% 0.134 100.8)
XYZxyz(33.2412, 37.0542, 7.9855)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A52E #2E3FB6
analogous
#B6612E #B6A52E #83B62E
triadic
#B6A52E #2EB6A5 #A52EB6
tetradic
#B6A52E #2EB661 #2E3FB6 #B62E83
square
#B6A52E #2EB661 #2E3FB6 #B62E83
split-complementary
#B6A52E #2E83B6 #612EB6
monochromatic
#544C15 #857922 #B6A52E #D2C24F #DFD380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A52E#FFFFFF#000000##000000
##B6A52E1.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)
#B5A017
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a52e;
/* rgb */ color: rgb(182, 165, 46);
/* oklch */ color: oklch(71.6% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#d0bf70',
    500: '#b6a52e',
    950: '#000000',
  },
}
SCSS
$custom: #b6a52e;
$custom-light: #d0bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a52e",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 52.5,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.13422,
    "h": 100.8
  },
  "luminance": 0.37053
}

Semantic roles & 50–950 ramp

primary
#B6A52E
secondary
#7882C8
accent
#59E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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