#B5AA41#B5AA41

#B5AA41 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.125 H 103.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B5AA41
RGBrgb(181, 170, 65)
HSLhsl(54, 47%, 48%)
HSVhsv(54, 64%, 71%)
CMYKcmyk(0%, 6.1%, 64.1%, 29%)
CIE-LABlab(68.72, -8.90, 53.75)
CIE-LCHlch(68.72, 54.48, 99.40°)
OKLaboklab(72.73% -0.0289 0.1221)
OKLCHoklch(72.73% 0.125 103.3)
XYZxyz(34.3862, 38.9562, 10.7080)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA41 #414CB5
analogous
#B57041 #B5AA41 #86B541
triadic
#B5AA41 #41B5AA #AA41B5
tetradic
#B5AA41 #41B570 #414CB5 #B54186
square
#B5AA41 #41B570 #414CB5 #B54186
split-complementary
#B5AA41 #4186B5 #7041B5
monochromatic
#5B5521 #888031 #B5AA41 #C9C06A #DAD397

Accessibility & contrast

On white

2.39
#B5AA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B5AA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA41
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA41#FFFFFF#000000##000000
##B5AA411.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5aa41;
/* rgb */ color: rgb(181, 170, 65);
/* oklch */ color: oklch(72.7% 0.125 103.3);
Tailwind
colors: {
  custom: {
    50: '#cec37b',
    500: '#b5aa41',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa41;
$custom-light: #cec37b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa41",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 65
  },
  "hsl": {
    "h": 54.31,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72729,
    "c": 0.12547,
    "h": 103.3
  },
  "luminance": 0.38955
}

Semantic roles & 50–950 ramp

primary
#B5AA41
secondary
#8C92C5
accent
#5ED751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AA41

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

Preview Lab → · Contrast checker → · Palette generator →

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