#B5AB4E#B5AB4E

#B5AB4E is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.115 H 103.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B5AB4E
RGBrgb(181, 171, 78)
HSLhsl(54, 41%, 51%)
HSVhsv(54, 57%, 71%)
CMYKcmyk(0%, 5.5%, 56.9%, 29%)
CIE-LABlab(69.11, -8.50, 48.30)
CIE-LCHlch(69.11, 49.04, 99.98°)
OKLaboklab(73.08% -0.0263 0.1122)
OKLCHoklch(73.08% 0.115 103.2)
XYZxyz(34.9953, 39.5009, 12.9873)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AB4E #4E58B5
analogous
#B5774E #B5AB4E #8BB54E
triadic
#B5AB4E #4EB5AB #AB4EB5
tetradic
#B5AB4E #4EB577 #4E58B5 #B54E8B
square
#B5AB4E #4EB577 #4E58B5 #B54E8B
split-complementary
#B5AB4E #4E8BB5 #774EB5
monochromatic
#605B28 #8B843A #B5AB4E #C7BF79 #D9D4A4

Accessibility & contrast

On white

2.36
#B5AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#B5AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AB4E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AB4E#FFFFFF#000000##000000
##B5AB4E1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ab4e;
/* rgb */ color: rgb(181, 171, 78);
/* oklch */ color: oklch(73.1% 0.115 103.2);
Tailwind
colors: {
  custom: {
    50: '#cec383',
    500: '#b5ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b5ab4e;
$custom-light: #cec383;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ab4e",
  "rgb": {
    "r": 181,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 54.175,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7308,
    "c": 0.11526,
    "h": 103.2
  },
  "luminance": 0.395
}

Semantic roles & 50–950 ramp

primary
#B5AB4E
secondary
#999DC6
accent
#63D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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