#B5A55C#B5A55C

#B5A55C is a light, moderate yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.096 H 97.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B5A55C
RGBrgb(181, 165, 92)
HSLhsl(49, 38%, 54%)
HSVhsv(49, 49%, 71%)
CMYKcmyk(0%, 8.8%, 49.2%, 29%)
CIE-LABlab(67.66, -4.11, 39.70)
CIE-LCHlch(67.66, 39.91, 95.92°)
OKLaboklab(71.98% -0.0121 0.0949)
OKLCHoklch(71.98% 0.096 97.3)
XYZxyz(34.4440, 37.5080, 15.5486)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A55C #5C6CB5
analogous
#B5785C #B5A55C #98B55C
triadic
#B5A55C #5CB5A5 #A55CB5
tetradic
#B5A55C #5CB578 #5C6CB5 #B55C98
square
#B5A55C #5CB578 #5C6CB5 #B55C98
split-complementary
#B5A55C #5C98B5 #785CB5
monochromatic
#685D2F #928342 #B5A55C #C8BC86 #DBD3B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A55C#FFFFFF#000000##000000
##B5A55C1.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)
#B2A256
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#C19B94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a55c;
/* rgb */ color: rgb(181, 165, 92);
/* oklch */ color: oklch(72.0% 0.096 97.3);
Tailwind
colors: {
  custom: {
    50: '#cdbf8c',
    500: '#b5a55c',
    950: '#000000',
  },
}
SCSS
$custom: #b5a55c;
$custom-light: #cdbf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a55c",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 92
  },
  "hsl": {
    "h": 49.213,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71978,
    "c": 0.09563,
    "h": 97.3
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#B5A55C
secondary
#A3AAC9
accent
#6FCE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B5A55C

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

Preview Lab → · Contrast checker → · Palette generator →

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