#B6B52B#B6B52B

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

Color values

HEX#B6B52B
RGBrgb(182, 181, 43)
HSLhsl(60, 62%, 44%)
HSVhsv(60, 76%, 71%)
CMYKcmyk(0%, 0.5%, 76.4%, 28.6%)
CIE-LABlab(71.67, -15.28, 64.99)
CIE-LCHlch(71.67, 66.76, 103.23°)
OKLaboklab(75.05% -0.0492 0.142)
OKLCHoklch(75.05% 0.15 109.1)
XYZxyz(36.2527, 43.1684, 8.7077)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B52B #2B2CB6
analogous
#B6702B #B6B52B #72B62B
triadic
#B6B52B #2BB6B5 #B52BB6
tetradic
#B6B52B #2BB670 #2B2CB6 #B62B72
square
#B6B52B #2BB670 #2B2CB6 #B62B72
split-complementary
#B6B52B #2B72B6 #702BB6
monochromatic
#535314 #84841F #B6B52B #D4D34A #E0DF7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B52B#FFFFFF#000000##000000
##B6B52B1.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)
#C4AD04
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#C3A99B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b52b;
/* rgb */ color: rgb(182, 181, 43);
/* oklch */ color: oklch(75.1% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca70',
    500: '#b6b52b',
    950: '#000000',
  },
}
SCSS
$custom: #b6b52b;
$custom-light: #d0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b52b",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 59.568,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.15028,
    "h": 109.1
  },
  "luminance": 0.43167
}

Semantic roles & 50–950 ramp

primary
#B6B52B
secondary
#7575C8
accent
#44E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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