#B5A341#B5A341

#B5A341 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.119 H 98.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B5A341
RGBrgb(181, 163, 65)
HSLhsl(51, 47%, 48%)
HSVhsv(51, 64%, 71%)
CMYKcmyk(0%, 9.9%, 64.1%, 29%)
CIE-LABlab(66.83, -5.20, 51.73)
CIE-LCHlch(66.83, 51.99, 95.74°)
OKLaboklab(71.23% -0.0184 0.1178)
OKLCHoklch(71.23% 0.119 98.9)
XYZxyz(33.1088, 36.4013, 10.2822)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A341 #4153B5
analogous
#B56941 #B5A341 #8DB541
triadic
#B5A341 #41B5A3 #A341B5
tetradic
#B5A341 #41B569 #4153B5 #B5418D
square
#B5A341 #41B569 #4153B5 #B5418D
split-complementary
#B5A341 #418DB5 #6941B5
monochromatic
#5B5221 #887A31 #B5A341 #C9BB6A #DACF97

Accessibility & contrast

On white

2.54
#B5A341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B5A341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A341
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A341#FFFFFF#000000##000000
##B5A3411.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F35
Deuteranopia (green-blind)
#B7A546
Tritanopia (blue-blind)
#C2988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a341;
/* rgb */ color: rgb(181, 163, 65);
/* oklch */ color: oklch(71.2% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#cebe7a',
    500: '#b5a341',
    950: '#000000',
  },
}
SCSS
$custom: #b5a341;
$custom-light: #cebe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a341",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 50.69,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.11922,
    "h": 98.9
  },
  "luminance": 0.364
}

Semantic roles & 50–950 ramp

primary
#B5A341
secondary
#8C95C5
accent
#66D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A341

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

Preview Lab → · Contrast checker → · Palette generator →

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