#B6B52A#B6B52A

#B6B52A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.151 H 109.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B6B52A
RGBrgb(182, 181, 42)
HSLhsl(60, 63%, 44%)
HSVhsv(60, 77%, 71%)
CMYKcmyk(0%, 0.5%, 76.9%, 28.6%)
CIE-LABlab(71.66, -15.32, 65.29)
CIE-LCHlch(71.66, 67.07, 103.20°)
OKLaboklab(75.05% -0.0494 0.1425)
OKLCHoklch(75.05% 0.151 109.1)
XYZxyz(36.2346, 43.1611, 8.6123)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B52A #2A2BB6
analogous
#B66F2A #B6B52A #71B62A
triadic
#B6B52A #2AB6B5 #B52AB6
tetradic
#B6B52A #2AB66F #2A2BB6 #B62A71
square
#B6B52A #2AB66F #2A2BB6 #B62A71
split-complementary
#B6B52A #2A71B6 #6F2AB6
monochromatic
#535213 #84841F #B6B52A #D5D448 #E0E07A

Accessibility & contrast

On white

2.18
#B6B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B6B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B52A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B52A#FFFFFF#000000##000000
##B6B52A1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD01
Deuteranopia (green-blind)
#C6B236
Tritanopia (blue-blind)
#C3A99B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b52a;
/* rgb */ color: rgb(182, 181, 42);
/* oklch */ color: oklch(75.0% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca70',
    500: '#b6b52a',
    950: '#000000',
  },
}
SCSS
$custom: #b6b52a;
$custom-light: #d0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b52a",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 59.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75048,
    "c": 0.15078,
    "h": 109.1
  },
  "luminance": 0.4316
}

Semantic roles & 50–950 ramp

primary
#B6B52A
secondary
#7374C8
accent
#43E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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