#B6B333#B6B333

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

Color values

HEX#B6B333
RGBrgb(182, 179, 51)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 71%)
CMYKcmyk(0%, 1.6%, 72%, 28.6%)
CIE-LABlab(71.16, -13.91, 61.81)
CIE-LCHlch(71.16, 63.36, 102.68°)
OKLaboklab(74.66% -0.0446 0.1367)
OKLCHoklch(74.66% 0.144 108.1)
XYZxyz(36.0104, 42.4255, 9.4234)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B333 #3336B6
analogous
#B67133 #B6B333 #77B633
triadic
#B6B333 #33B6B3 #B333B6
tetradic
#B6B333 #33B671 #3336B6 #B63377
square
#B6B333 #33B671 #3336B6 #B63377
split-complementary
#B6B333 #3377B6 #7133B6
monochromatic
#565518 #868426 #B6B333 #D0CD56 #DDDB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B333#FFFFFF#000000##000000
##B6B3331.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)
#C2AC1C
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#C3A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b333;
/* rgb */ color: rgb(182, 179, 51);
/* oklch */ color: oklch(74.7% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#cfc974',
    500: '#b6b333',
    950: '#000000',
  },
}
SCSS
$custom: #b6b333;
$custom-light: #cfc974;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b333",
  "rgb": {
    "r": 182,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 58.626,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74663,
    "c": 0.14383,
    "h": 108.1
  },
  "luminance": 0.42424
}

Semantic roles & 50–950 ramp

primary
#B6B333
secondary
#7E80C7
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B333

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

Preview Lab → · Contrast checker → · Palette generator →

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