#B5AA33#B5AA33

#B5AA33 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.136 H 104.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B5AA33
RGBrgb(181, 170, 51)
HSLhsl(55, 56%, 45%)
HSVhsv(55, 72%, 71%)
CMYKcmyk(0%, 6.1%, 71.8%, 29%)
CIE-LABlab(68.62, -9.68, 59.32)
CIE-LCHlch(68.62, 60.10, 99.27°)
OKLaboklab(72.61% -0.0327 0.1315)
OKLCHoklch(72.61% 0.136 104)
XYZxyz(34.0298, 38.8136, 8.8306)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA33 #333EB5
analogous
#B56933 #B5AA33 #7FB533
triadic
#B5AA33 #33B5AA #AA33B5
tetradic
#B5AA33 #33B569 #333EB5 #B5337F
square
#B5AA33 #33B569 #333EB5 #B5337F
split-complementary
#B5AA33 #337FB5 #6933B5
monochromatic
#565018 #857D26 #B5AA33 #CFC556 #DDD586

Accessibility & contrast

On white

2.40
#B5AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B5AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA33
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA33#FFFFFF#000000##000000
##B5AA331.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5aa33;
/* rgb */ color: rgb(181, 170, 51);
/* oklch */ color: oklch(72.6% 0.136 104.0);
Tailwind
colors: {
  custom: {
    50: '#cfc373',
    500: '#b5aa33',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa33;
$custom-light: #cfc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa33",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 54.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72613,
    "c": 0.1355,
    "h": 104
  },
  "luminance": 0.38812
}

Semantic roles & 50–950 ramp

primary
#B5AA33
secondary
#7D84C6
accent
#55DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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