#B5A141#B5A141

#B5A141 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.118 H 97.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B5A141
RGBrgb(181, 161, 65)
HSLhsl(50, 47%, 48%)
HSVhsv(50, 64%, 71%)
CMYKcmyk(0%, 11%, 64.1%, 29%)
CIE-LABlab(66.29, -4.13, 51.15)
CIE-LCHlch(66.29, 51.31, 94.62°)
OKLaboklab(70.8% -0.0153 0.1166)
OKLCHoklch(70.8% 0.118 97.5)
XYZxyz(32.7565, 35.6967, 10.1647)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A141 #4155B5
analogous
#B56741 #B5A141 #8FB541
triadic
#B5A141 #41B5A1 #A141B5
tetradic
#B5A141 #41B567 #4155B5 #B5418F
square
#B5A141 #41B567 #4155B5 #B5418F
split-complementary
#B5A141 #418FB5 #6741B5
monochromatic
#5B5121 #887931 #B5A141 #C9B96A #DACE97

Accessibility & contrast

On white

2.58
#B5A141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B5A141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A141
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A141#FFFFFF#000000##000000
##B5A1411.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D36
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#C3968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a141;
/* rgb */ color: rgb(181, 161, 65);
/* oklch */ color: oklch(70.8% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#cebc7a',
    500: '#b5a141',
    950: '#000000',
  },
}
SCSS
$custom: #b5a141;
$custom-light: #cebc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a141",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 65
  },
  "hsl": {
    "h": 49.655,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.11757,
    "h": 97.5
  },
  "luminance": 0.35695
}

Semantic roles & 50–950 ramp

primary
#B5A141
secondary
#8C96C5
accent
#68D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A141

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

Preview Lab → · Contrast checker → · Palette generator →

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