#B6B42A#B6B42A

#B6B42A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.150 H 108.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B6B42A
RGBrgb(182, 180, 42)
HSLhsl(59, 63%, 44%)
HSVhsv(59, 77%, 71%)
CMYKcmyk(0%, 1.1%, 76.9%, 28.6%)
CIE-LABlab(71.39, -14.81, 65.04)
CIE-LCHlch(71.39, 66.71, 102.82°)
OKLaboklab(74.83% -0.0479 0.1419)
OKLCHoklch(74.83% 0.15 108.7)
XYZxyz(36.0320, 42.7559, 8.5447)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B42A #2A2CB6
analogous
#B66E2A #B6B42A #72B62A
triadic
#B6B42A #2AB6B4 #B42AB6
tetradic
#B6B42A #2AB66E #2A2CB6 #B62A72
square
#B6B42A #2AB66E #2A2CB6 #B62A72
split-complementary
#B6B42A #2A72B6 #6E2AB6
monochromatic
#535213 #84831F #B6B42A #D5D348 #E0DF7A

Accessibility & contrast

On white

2.20
#B6B42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B6B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B42A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B42A#FFFFFF#000000##000000
##B6B42A1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC02
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#C3A89A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b42a;
/* rgb */ color: rgb(182, 180, 42);
/* oklch */ color: oklch(74.8% 0.150 108.7);
Tailwind
colors: {
  custom: {
    50: '#d0ca6f',
    500: '#b6b42a',
    950: '#000000',
  },
}
SCSS
$custom: #b6b42a;
$custom-light: #d0ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b42a",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 59.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74828,
    "c": 0.14982,
    "h": 108.7
  },
  "luminance": 0.42755
}

Semantic roles & 50–950 ramp

primary
#B6B42A
secondary
#7375C8
accent
#45E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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