#B1AA5D#B1AA5D

#B1AA5D is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.099 H 104.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B1AA5D
RGBrgb(177, 170, 93)
HSLhsl(55, 35%, 53%)
HSVhsv(55, 47%, 69%)
CMYKcmyk(0%, 4%, 47.5%, 30.6%)
CIE-LABlab(68.67, -8.35, 40.35)
CIE-LCHlch(68.67, 41.20, 101.69°)
OKLaboklab(72.7% -0.024 0.0964)
OKLCHoklch(72.7% 0.099 104)
XYZxyz(34.4828, 38.8879, 16.0435)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA5D #5D64B1
analogous
#B1805D #B1AA5D #8EB15D
triadic
#B1AA5D #5DB1AA #AA5DB1
tetradic
#B1AA5D #5DB180 #5D64B1 #B15D8E
square
#B1AA5D #5DB180 #5D64B1 #B15D8E
split-complementary
#B1AA5D #5D8EB1 #805DB1
monochromatic
#645F30 #8D8744 #B1AA5D #C5C086 #D9D5B0

Accessibility & contrast

On white

2.39
#B1AA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B1AA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA5D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA5D#FFFFFF#000000##000000
##B1AA5D1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A556
Deuteranopia (green-blind)
#B9A960
Tritanopia (blue-blind)
#BCA198
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1aa5d;
/* rgb */ color: rgb(177, 170, 93);
/* oklch */ color: oklch(72.7% 0.099 104.0);
Tailwind
colors: {
  custom: {
    50: '#cac38c',
    500: '#b1aa5d',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa5d;
$custom-light: #cac38c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa5d",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 93
  },
  "hsl": {
    "h": 55,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.09938,
    "h": 104
  },
  "luminance": 0.38887
}

Semantic roles & 50–950 ramp

primary
#B1AA5D
secondary
#A3A6C7
accent
#66CB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1AA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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