#B2AA33#B2AA33

#B2AA33 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.136 H 105.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B2AA33
RGBrgb(178, 170, 51)
HSLhsl(56, 55%, 45%)
HSVhsv(56, 71%, 70%)
CMYKcmyk(0%, 4.5%, 71.3%, 30.2%)
CIE-LABlab(68.35, -10.99, 58.97)
CIE-LCHlch(68.35, 59.99, 100.56°)
OKLaboklab(72.34% -0.0362 0.1309)
OKLCHoklch(72.34% 0.136 105.5)
XYZxyz(33.3337, 38.4547, 8.7980)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA33 #333BB2
analogous
#B26A33 #B2AA33 #7BB233
triadic
#B2AA33 #33B2AA #AA33B2
tetradic
#B2AA33 #33B26A #333BB2 #B2337B
square
#B2AA33 #33B26A #333BB2 #B2337B
split-complementary
#B2AA33 #337BB2 #6A33B2
monochromatic
#534F18 #827D25 #B2AA33 #CEC654 #DCD684

Accessibility & contrast

On white

2.42
#B2AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B2AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA33
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA33#FFFFFF#000000##000000
##B2AA331.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41F
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#BF9E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa33;
/* rgb */ color: rgb(178, 170, 51);
/* oklch */ color: oklch(72.3% 0.136 105.5);
Tailwind
colors: {
  custom: {
    50: '#ccc373',
    500: '#b2aa33',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa33;
$custom-light: #ccc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa33",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 56.22,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.13579,
    "h": 105.5
  },
  "luminance": 0.38453
}

Semantic roles & 50–950 ramp

primary
#B2AA33
secondary
#7C80C5
accent
#52DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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