#B0AB4F#B0AB4F

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

Color values

HEX#B0AB4F
RGBrgb(176, 171, 79)
HSLhsl(57, 38%, 50%)
HSVhsv(57, 55%, 69%)
CMYKcmyk(0%, 2.8%, 55.1%, 31%)
CIE-LABlab(68.69, -10.54, 47.23)
CIE-LCHlch(68.69, 48.39, 102.59°)
OKLaboklab(72.65% -0.0317 0.1102)
OKLCHoklch(72.65% 0.115 106.1)
XYZxyz(33.8797, 38.9215, 13.1235)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB4F #4F54B0
analogous
#B07A4F #B0AB4F #85B04F
triadic
#B0AB4F #4FB0AB #AB4FB0
tetradic
#B0AB4F #4FB07A #4F54B0 #B04F85
square
#B0AB4F #4FB07A #4F54B0 #B04F85
split-complementary
#B0AB4F #4F85B0 #7A4FB0
monochromatic
#5C5929 #86823C #B0AB4F #C3BF79 #D6D3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AB4F#FFFFFF#000000##000000
##B0AB4F1.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)
#B8A546
Deuteranopia (green-blind)
#BAA954
Tritanopia (blue-blind)
#BBA197
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b0ab4f;
/* rgb */ color: rgb(176, 171, 79);
/* oklch */ color: oklch(72.6% 0.115 106.1);
Tailwind
colors: {
  custom: {
    50: '#cac383',
    500: '#b0ab4f',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab4f;
$custom-light: #cac383;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab4f",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 56.907,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.11463,
    "h": 106.1
  },
  "luminance": 0.3892
}

Semantic roles & 50–950 ramp

primary
#B0AB4F
secondary
#989AC3
accent
#60CE5A
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #B0AB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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