#B4AB78#B4AB78

#B4AB78 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.069 H 99.4°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B4AB78
RGBrgb(180, 171, 120)
HSLhsl(51, 29%, 59%)
HSVhsv(51, 33%, 71%)
CMYKcmyk(0%, 5%, 33.3%, 29.4%)
CIE-LABlab(69.60, -4.63, 27.48)
CIE-LCHlch(69.60, 27.86, 99.56°)
OKLaboklab(73.63% -0.0113 0.0684)
OKLCHoklch(73.63% 0.069 99.4)
XYZxyz(36.7759, 40.1861, 23.5851)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB78 #7881B4
analogous
#B48D78 #B4AB78 #9FB478
triadic
#B4AB78 #78B4AB #AB78B4
tetradic
#B4AB78 #78B48D #7881B4 #B4789F
square
#B4AB78 #78B48D #7881B4 #B4789F
split-complementary
#B4AB78 #789FB4 #8D78B4
monochromatic
#726B3F #9A8F55 #B4AB78 #CAC39F #E0DCC7

Accessibility & contrast

On white

2.32
#B4AB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#B4AB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB78
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB78#FFFFFF#000000##000000
##B4AB781.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A874
Deuteranopia (green-blind)
#B7AC7A
Tritanopia (blue-blind)
#BDA49E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b4ab78;
/* rgb */ color: rgb(180, 171, 120);
/* oklch */ color: oklch(73.6% 0.069 99.4);
Tailwind
colors: {
  custom: {
    50: '#cbc39f',
    500: '#b4ab78',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab78;
$custom-light: #cbc39f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab78",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 120
  },
  "hsl": {
    "h": 51,
    "s": 28.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.73634,
    "c": 0.06933,
    "h": 99.4
  },
  "luminance": 0.40185
}

Semantic roles & 50–950 ramp

primary
#B4AB78
secondary
#B8BCD0
accent
#72C563
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B4AB78

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

Preview Lab → · Contrast checker → · Palette generator →

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