#B1AA4F#B1AA4F

#B1AA4F is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.114 H 104.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B1AA4F
RGBrgb(177, 170, 79)
HSLhsl(56, 39%, 50%)
HSVhsv(56, 55%, 69%)
CMYKcmyk(0%, 4%, 55.4%, 30.6%)
CIE-LABlab(68.51, -9.60, 47.04)
CIE-LCHlch(68.51, 48.01, 101.53°)
OKLaboklab(72.52% -0.0291 0.1097)
OKLCHoklch(72.52% 0.114 104.9)
XYZxyz(33.9185, 38.6622, 13.0715)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA4F #4F56B1
analogous
#B1794F #B1AA4F #87B14F
triadic
#B1AA4F #4FB1AA #AA4FB1
tetradic
#B1AA4F #4FB179 #4F56B1 #B14F87
square
#B1AA4F #4FB179 #4F56B1 #B14F87
split-complementary
#B1AA4F #4F87B1 #794FB1
monochromatic
#5D5929 #87823C #B1AA4F #C4BE79 #D7D3A4

Accessibility & contrast

On white

2.40
#B1AA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B1AA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA4F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA4F#FFFFFF#000000##000000
##B1AA4F1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A546
Deuteranopia (green-blind)
#BAA954
Tritanopia (blue-blind)
#BDA096
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1aa4f;
/* rgb */ color: rgb(177, 170, 79);
/* oklch */ color: oklch(72.5% 0.114 104.9);
Tailwind
colors: {
  custom: {
    50: '#cac383',
    500: '#b1aa4f',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa4f;
$custom-light: #cac383;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa4f",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 79
  },
  "hsl": {
    "h": 55.714,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72518,
    "c": 0.1135,
    "h": 104.9
  },
  "luminance": 0.38661
}

Semantic roles & 50–950 ramp

primary
#B1AA4F
secondary
#989BC4
accent
#62CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B1AA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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