#B8AB4E#B8AB4E

#B8AB4E is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.115 H 101.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B8AB4E
RGBrgb(184, 171, 78)
HSLhsl(53, 43%, 51%)
HSVhsv(53, 58%, 72%)
CMYKcmyk(0%, 7.1%, 57.6%, 27.8%)
CIE-LABlab(69.38, -7.22, 48.66)
CIE-LCHlch(69.38, 49.20, 98.44°)
OKLaboklab(73.35% -0.0228 0.113)
OKLCHoklch(73.35% 0.115 101.4)
XYZxyz(35.7065, 39.8676, 13.0206)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB4E #4E5BB8
analogous
#B8764E #B8AB4E #90B84E
triadic
#B8AB4E #4EB8AB #AB4EB8
tetradic
#B8AB4E #4EB876 #4E5BB8 #B84E90
square
#B8AB4E #4EB876 #4E5BB8 #B84E90
split-complementary
#B8AB4E #4E90B8 #764EB8
monochromatic
#645C28 #8F8539 #B8AB4E #CAC07A #DBD4A5

Accessibility & contrast

On white

2.34
#B8AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B8AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AB4E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AB4E#FFFFFF#000000##000000
##B8AB4E1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BDAC53
Tritanopia (blue-blind)
#C5A096
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab4e;
/* rgb */ color: rgb(184, 171, 78);
/* oklch */ color: oklch(73.4% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#d0c383',
    500: '#b8ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab4e;
$custom-light: #d0c383;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab4e",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 52.642,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73351,
    "c": 0.11523,
    "h": 101.4
  },
  "luminance": 0.39866
}

Semantic roles & 50–950 ramp

primary
#B8AB4E
secondary
#9A9FC8
accent
#65D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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