#B6A02A#B6A02A

#B6A02A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.133 H 98.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B6A02A
RGBrgb(182, 160, 42)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 77%, 71%)
CMYKcmyk(0%, 12.1%, 76.9%, 28.6%)
CIE-LABlab(65.95, -4.37, 60.06)
CIE-LCHlch(65.95, 60.22, 94.16°)
OKLaboklab(70.5% -0.0186 0.1313)
OKLCHoklch(70.5% 0.133 98.1)
XYZxyz(32.2818, 35.2555, 7.2947)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A02A #2A40B6
analogous
#B65A2A #B6A02A #86B62A
triadic
#B6A02A #2AB6A0 #A02AB6
tetradic
#B6A02A #2AB65A #2A40B6 #B62A86
square
#B6A02A #2AB65A #2A40B6 #B62A86
split-complementary
#B6A02A #2A86B6 #5A2AB6
monochromatic
#534913 #84741F #B6A02A #D5BF48 #E0D07A

Accessibility & contrast

On white

2.61
#B6A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B6A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A02A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A02A#FFFFFF#000000##000000
##B6A02A1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#C5938A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b6a02a;
/* rgb */ color: rgb(182, 160, 42);
/* oklch */ color: oklch(70.5% 0.133 98.1);
Tailwind
colors: {
  custom: {
    50: '#d0bb6d',
    500: '#b6a02a',
    950: '#000000',
  },
}
SCSS
$custom: #b6a02a;
$custom-light: #d0bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a02a",
  "rgb": {
    "r": 182,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 50.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70499,
    "c": 0.13262,
    "h": 98.1
  },
  "luminance": 0.35254
}

Semantic roles & 50–950 ramp

primary
#B6A02A
secondary
#7381C8
accent
#5CE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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