#B6B131#B6B131

#B6B131 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.143 H 107.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B6B131
RGBrgb(182, 177, 49)
HSLhsl(58, 58%, 45%)
HSVhsv(58, 73%, 71%)
CMYKcmyk(0%, 2.7%, 73.1%, 28.6%)
CIE-LABlab(70.60, -12.97, 61.99)
CIE-LCHlch(70.60, 63.33, 101.82°)
OKLaboklab(74.21% -0.0422 0.1367)
OKLCHoklch(74.21% 0.143 107.2)
XYZxyz(35.5693, 41.6123, 9.0635)
Luminance0.4161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B131 #3136B6
analogous
#B66E31 #B6B131 #79B631
triadic
#B6B131 #31B6B1 #B131B6
tetradic
#B6B131 #31B66E #3136B6 #B63179
square
#B6B131 #31B66E #3136B6 #B63179
split-complementary
#B6B131 #3179B6 #6E31B6
monochromatic
#565317 #868224 #B6B131 #D1CC53 #DEDA84

Accessibility & contrast

On white

2.25
#B6B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B6B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B131
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B131#FFFFFF#000000##000000
##B6B1311.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#C3A598
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b131;
/* rgb */ color: rgb(182, 177, 49);
/* oklch */ color: oklch(74.2% 0.143 107.2);
Tailwind
colors: {
  custom: {
    50: '#cfc872',
    500: '#b6b131',
    950: '#000000',
  },
}
SCSS
$custom: #b6b131;
$custom-light: #cfc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b131",
  "rgb": {
    "r": 182,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 57.744,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74212,
    "c": 0.1431,
    "h": 107.2
  },
  "luminance": 0.41611
}

Semantic roles & 50–950 ramp

primary
#B6B131
secondary
#7C7FC7
accent
#4DE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B131

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

Preview Lab → · Contrast checker → · Palette generator →

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