#B6B22A#B6B22A

#B6B22A is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.148 H 107.8°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B6B22A
RGBrgb(182, 178, 42)
HSLhsl(58, 63%, 44%)
HSVhsv(58, 77%, 71%)
CMYKcmyk(0%, 2.2%, 76.9%, 28.6%)
CIE-LABlab(70.84, -13.78, 64.55)
CIE-LCHlch(70.84, 66.00, 102.06°)
OKLaboklab(74.39% -0.0451 0.1409)
OKLCHoklch(74.39% 0.148 107.8)
XYZxyz(35.6311, 41.9543, 8.4111)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B22A #2A2EB6
analogous
#B66C2A #B6B22A #74B62A
triadic
#B6B22A #2AB6B2 #B22AB6
tetradic
#B6B22A #2AB66C #2A2EB6 #B62A74
square
#B6B22A #2AB66C #2A2EB6 #B62A74
split-complementary
#B6B22A #2A74B6 #6C2AB6
monochromatic
#535113 #84811F #B6B22A #D5D148 #E0DD7A

Accessibility & contrast

On white

2.24
#B6B22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B6B22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B22A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B22A#FFFFFF#000000##000000
##B6B22A1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB04
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#C4A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b22a;
/* rgb */ color: rgb(182, 178, 42);
/* oklch */ color: oklch(74.4% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#d0c86f',
    500: '#b6b22a',
    950: '#000000',
  },
}
SCSS
$custom: #b6b22a;
$custom-light: #d0c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b22a",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 58.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.14791,
    "h": 107.8
  },
  "luminance": 0.41953
}

Semantic roles & 50–950 ramp

primary
#B6B22A
secondary
#7376C8
accent
#47E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B22A

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

Preview Lab → · Contrast checker → · Palette generator →

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