#B1AB4E#B1AB4E

#B1AB4E is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.115 H 105.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B1AB4E
RGBrgb(177, 171, 78)
HSLhsl(56, 39%, 50%)
HSVhsv(56, 56%, 69%)
CMYKcmyk(0%, 3.4%, 55.9%, 30.6%)
CIE-LABlab(68.77, -10.20, 47.81)
CIE-LCHlch(68.77, 48.89, 102.04°)
OKLaboklab(72.72% -0.0309 0.1113)
OKLCHoklch(72.72% 0.115 105.5)
XYZxyz(34.0705, 39.0241, 12.9439)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB4E #4E54B1
analogous
#B17A4E #B1AB4E #85B14E
triadic
#B1AB4E #4EB1AB #AB4EB1
tetradic
#B1AB4E #4EB17A #4E54B1 #B14E85
square
#B1AB4E #4EB17A #4E54B1 #B14E85
split-complementary
#B1AB4E #4E85B1 #7A4EB1
monochromatic
#5C5929 #87823B #B1AB4E #C4BF78 #D6D3A3

Accessibility & contrast

On white

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

On black

8.80
#B1AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB4E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB4E#FFFFFF#000000##000000
##B1AB4E1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A545
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#BDA196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ab4e;
/* rgb */ color: rgb(177, 171, 78);
/* oklch */ color: oklch(72.7% 0.115 105.5);
Tailwind
colors: {
  custom: {
    50: '#cbc383',
    500: '#b1ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab4e;
$custom-light: #cbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab4e",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 56.364,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.11549,
    "h": 105.5
  },
  "luminance": 0.39023
}

Semantic roles & 50–950 ramp

primary
#B1AB4E
secondary
#979AC4
accent
#60CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B1AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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