#B6A22A#B6A22A

#B6A22A is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.134 H 99.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B6A22A
RGBrgb(182, 162, 42)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 77%, 71%)
CMYKcmyk(0%, 11%, 76.9%, 28.6%)
CIE-LABlab(66.49, -5.43, 60.56)
CIE-LCHlch(66.49, 60.80, 95.13°)
OKLaboklab(70.93% -0.0216 0.1324)
OKLCHoklch(70.93% 0.134 99.3)
XYZxyz(32.6313, 35.9545, 7.4112)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A22A #2A3EB6
analogous
#B65C2A #B6A22A #84B62A
triadic
#B6A22A #2AB6A2 #A22AB6
tetradic
#B6A22A #2AB65C #2A3EB6 #B62A84
square
#B6A22A #2AB65C #2A3EB6 #B62A84
split-complementary
#B6A22A #2A84B6 #5C2AB6
monochromatic
#534913 #84761F #B6A22A #D5C148 #E0D27A

Accessibility & contrast

On white

2.56
#B6A22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B6A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A22A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A22A#FFFFFF#000000##000000
##B6A22A1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E10
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#C5968B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a22a;
/* rgb */ color: rgb(182, 162, 42);
/* oklch */ color: oklch(70.9% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0bd6d',
    500: '#b6a22a',
    950: '#000000',
  },
}
SCSS
$custom: #b6a22a;
$custom-light: #d0bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a22a",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 51.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70925,
    "c": 0.13412,
    "h": 99.3
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

primary
#B6A22A
secondary
#7380C8
accent
#5AE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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