#B5A96F#B5A96F

#B5A96F is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.1% C 0.078 H 97.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B5A96F
RGBrgb(181, 169, 111)
HSLhsl(50, 32%, 57%)
HSVhsv(50, 39%, 71%)
CMYKcmyk(0%, 6.6%, 38.7%, 29%)
CIE-LABlab(69.00, -4.25, 31.50)
CIE-LCHlch(69.00, 31.79, 97.68°)
OKLaboklab(73.13% -0.0108 0.0775)
OKLCHoklch(73.13% 0.078 97.9)
XYZxyz(36.1139, 39.3485, 20.7285)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A96F #6F7BB5
analogous
#B5866F #B5A96F #9EB56F
triadic
#B5A96F #6FB5A9 #A96FB5
tetradic
#B5A96F #6FB586 #6F7BB5 #B56F9E
square
#B5A96F #6FB586 #6F7BB5 #B56F9E
split-complementary
#B5A96F #6F9EB5 #866FB5
monochromatic
#70673A #988C4E #B5A96F #CAC197 #DFD9C0

Accessibility & contrast

On white

2.37
#B5A96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B5A96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A96F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A96F#FFFFFF#000000##000000
##B5A96F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66B
Deuteranopia (green-blind)
#B7AA71
Tritanopia (blue-blind)
#BFA19A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5a96f;
/* rgb */ color: rgb(181, 169, 111);
/* oklch */ color: oklch(73.1% 0.078 97.9);
Tailwind
colors: {
  custom: {
    50: '#ccc299',
    500: '#b5a96f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a96f;
$custom-light: #ccc299;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a96f",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 111
  },
  "hsl": {
    "h": 49.714,
    "s": 32.11,
    "l": 57.255
  },
  "oklch": {
    "l": 0.73132,
    "c": 0.07822,
    "h": 97.9
  },
  "luminance": 0.39347
}

Semantic roles & 50–950 ramp

primary
#B5A96F
secondary
#B2B7CE
accent
#71C860
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B5A96F

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

Preview Lab → · Contrast checker → · Palette generator →

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