#B6B331#B6B331

#B6B331 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.145 H 108.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B6B331
RGBrgb(182, 179, 49)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 73%, 71%)
CMYKcmyk(0%, 1.6%, 73.1%, 28.6%)
CIE-LABlab(71.15, -14.00, 62.51)
CIE-LCHlch(71.15, 64.06, 102.62°)
OKLaboklab(74.65% -0.0451 0.1378)
OKLCHoklch(74.65% 0.145 108.1)
XYZxyz(35.9672, 42.4082, 9.1961)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B331 #3134B6
analogous
#B67131 #B6B331 #76B631
triadic
#B6B331 #31B6B3 #B331B6
tetradic
#B6B331 #31B671 #3134B6 #B63176
square
#B6B331 #31B671 #3134B6 #B63176
split-complementary
#B6B331 #3176B6 #7131B6
monochromatic
#565417 #868424 #B6B331 #D1CE53 #DEDC84

Accessibility & contrast

On white

2.21
#B6B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#B6B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B331
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B331#FFFFFF#000000##000000
##B6B3311.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#C3A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b331;
/* rgb */ color: rgb(182, 179, 49);
/* oklch */ color: oklch(74.7% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#cfc973',
    500: '#b6b331',
    950: '#000000',
  },
}
SCSS
$custom: #b6b331;
$custom-light: #cfc973;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b331",
  "rgb": {
    "r": 182,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 58.647,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7465,
    "c": 0.14502,
    "h": 108.1
  },
  "luminance": 0.42407
}

Semantic roles & 50–950 ramp

primary
#B6B331
secondary
#7C7DC7
accent
#4AE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B331

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

Preview Lab → · Contrast checker → · Palette generator →

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