#B5A641#B5A641

#B5A641 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.122 H 100.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B5A641
RGBrgb(181, 166, 65)
HSLhsl(52, 47%, 48%)
HSVhsv(52, 64%, 71%)
CMYKcmyk(0%, 8.3%, 64.1%, 29%)
CIE-LABlab(67.64, -6.79, 52.59)
CIE-LCHlch(67.64, 53.03, 97.36°)
OKLaboklab(71.87% -0.0229 0.1196)
OKLCHoklch(71.87% 0.122 100.9)
XYZxyz(33.6478, 37.4793, 10.4618)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A641 #4150B5
analogous
#B56C41 #B5A641 #8AB541
triadic
#B5A641 #41B5A6 #A641B5
tetradic
#B5A641 #41B56C #4150B5 #B5418A
square
#B5A641 #41B56C #4150B5 #B5418A
split-complementary
#B5A641 #418AB5 #6C41B5
monochromatic
#5B5321 #887D31 #B5A641 #C9BD6A #DAD197

Accessibility & contrast

On white

2.47
#B5A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B5A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A641
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A641#FFFFFF#000000##000000
##B5A6411.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#C29B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a641;
/* rgb */ color: rgb(181, 166, 65);
/* oklch */ color: oklch(71.9% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#cec07a',
    500: '#b5a641',
    950: '#000000',
  },
}
SCSS
$custom: #b5a641;
$custom-light: #cec07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a641",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 52.241,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.12182,
    "h": 100.9
  },
  "luminance": 0.37478
}

Semantic roles & 50–950 ramp

primary
#B5A641
secondary
#8C94C5
accent
#62D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A641

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

Preview Lab → · Contrast checker → · Palette generator →

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