#B5A466#B5A466

#B5A466 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.084 H 94.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B5A466
RGBrgb(181, 164, 102)
HSLhsl(47, 35%, 55%)
HSVhsv(47, 44%, 71%)
CMYKcmyk(0%, 9.4%, 43.6%, 29%)
CIE-LABlab(67.53, -2.57, 34.36)
CIE-LCHlch(67.53, 34.46, 94.28°)
OKLaboklab(71.92% -0.0067 0.0836)
OKLCHoklch(71.92% 0.084 94.6)
XYZxyz(34.7307, 37.3352, 17.9448)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A466 #6677B5
analogous
#B57C66 #B5A466 #9EB566
triadic
#B5A466 #66B5A4 #A466B5
tetradic
#B5A466 #66B57C #6677B5 #B5669E
square
#B5A466 #66B57C #6677B5 #B5669E
split-complementary
#B5A466 #669EB5 #7C66B5
monochromatic
#6C6034 #958548 #B5A466 #C9BD8F #DDD5B8

Accessibility & contrast

On white

2.48
#B5A466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B5A466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A466
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A466#FFFFFF#000000##000000
##B5A4661.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A161
Deuteranopia (green-blind)
#B4A768
Tritanopia (blue-blind)
#C09B95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a466;
/* rgb */ color: rgb(181, 164, 102);
/* oklch */ color: oklch(71.9% 0.084 94.6);
Tailwind
colors: {
  custom: {
    50: '#ccbe92',
    500: '#b5a466',
    950: '#000000',
  },
}
SCSS
$custom: #b5a466;
$custom-light: #ccbe92;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a466",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 102
  },
  "hsl": {
    "h": 47.089,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.71921,
    "c": 0.08384,
    "h": 94.6
  },
  "luminance": 0.37334
}

Semantic roles & 50–950 ramp

primary
#B5A466
secondary
#ABB2CC
accent
#75CB5D
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#14120D
muted
#82817E

Preview Lab

Preview with #B5A466

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

Preview Lab → · Contrast checker → · Palette generator →

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