#B3B332#B3B332

#B3B332 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.4% C 0.145 H 109.5°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B3B332
RGBrgb(179, 179, 50)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0%, 0%, 72.1%, 29.8%)
CIE-LABlab(70.91, -15.25, 61.84)
CIE-LCHlch(70.91, 63.69, 103.85°)
OKLaboklab(74.4% -0.0483 0.1367)
OKLCHoklch(74.4% 0.145 109.5)
XYZxyz(35.2875, 42.0552, 9.2756)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B332 #3232B3
analogous
#B37332 #B3B332 #73B332
triadic
#B3B332 #32B3B3 #B332B3
tetradic
#B3B332 #32B373 #3232B3 #B33273
square
#B3B332 #32B373 #3232B3 #B33273
split-complementary
#B3B332 #3273B3 #7332B3
monochromatic
#535317 #838325 #B3B332 #CFCF53 #DCDC83

Accessibility & contrast

On white

2.23
#B3B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B3B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B332
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B332#FFFFFF#000000##000000
##B3B3321.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB1A
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#C0A79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b332;
/* rgb */ color: rgb(179, 179, 50);
/* oklch */ color: oklch(74.4% 0.145 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdc973',
    500: '#b3b332',
    950: '#000000',
  },
}
SCSS
$custom: #b3b332;
$custom-light: #cdc973;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b332",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74398,
    "c": 0.14499,
    "h": 109.5
  },
  "luminance": 0.42054
}

Semantic roles & 50–950 ramp

primary
#B3B332
secondary
#7B7BC6
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B332

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

Preview Lab → · Contrast checker → · Palette generator →

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