#B6B52C#B6B52C

#B6B52C 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.64:1 contrast (WCAG AA passes).

Color values

HEX#B6B52C
RGBrgb(182, 181, 44)
HSLhsl(60, 61%, 44%)
HSVhsv(60, 76%, 71%)
CMYKcmyk(0%, 0.5%, 75.8%, 28.6%)
CIE-LABlab(71.67, -15.24, 64.67)
CIE-LCHlch(71.67, 66.44, 103.26°)
OKLaboklab(75.06% -0.049 0.1415)
OKLCHoklch(75.06% 0.15 109.1)
XYZxyz(36.2713, 43.1758, 8.8055)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B52C #2C2DB6
analogous
#B6702C #B6B52C #72B62C
triadic
#B6B52C #2CB6B5 #B52CB6
tetradic
#B6B52C #2CB670 #2C2DB6 #B62C72
square
#B6B52C #2CB670 #2C2DB6 #B62C72
split-complementary
#B6B52C #2C72B6 #702CB6
monochromatic
#535314 #858420 #B6B52C #D4D34C #E0DF7D

Accessibility & contrast

On white

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

On black

9.64
#B6B52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B52C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B52C#FFFFFF#000000##000000
##B6B52C1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6b52c;
/* rgb */ color: rgb(182, 181, 44);
/* oklch */ color: oklch(75.1% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca71',
    500: '#b6b52c',
    950: '#000000',
  },
}
SCSS
$custom: #b6b52c;
$custom-light: #d0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b52c",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 59.565,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75059,
    "c": 0.14976,
    "h": 109.1
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

primary
#B6B52C
secondary
#7676C8
accent
#45E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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