#B4AB4E#B4AB4E

#B4AB4E is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.115 H 103.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B4AB4E
RGBrgb(180, 171, 78)
HSLhsl(55, 40%, 51%)
HSVhsv(55, 57%, 71%)
CMYKcmyk(0%, 5%, 56.7%, 29.4%)
CIE-LABlab(69.03, -8.92, 48.17)
CIE-LCHlch(69.03, 48.99, 100.50°)
OKLaboklab(72.99% -0.0275 0.112)
OKLCHoklch(72.99% 0.115 103.8)
XYZxyz(34.7616, 39.3804, 12.9763)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB4E #4E57B4
analogous
#B4784E #B4AB4E #8AB44E
triadic
#B4AB4E #4EB4AB #AB4EB4
tetradic
#B4AB4E #4EB478 #4E57B4 #B44E8A
square
#B4AB4E #4EB478 #4E57B4 #B44E8A
split-complementary
#B4AB4E #4E8AB4 #784EB4
monochromatic
#5F5A28 #8A833B #B4AB4E #C6BF79 #D8D4A4

Accessibility & contrast

On white

2.37
#B4AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B4AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB4E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB4E#FFFFFF#000000##000000
##B4AB4E1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ab4e;
/* rgb */ color: rgb(180, 171, 78);
/* oklch */ color: oklch(73.0% 0.115 103.8);
Tailwind
colors: {
  custom: {
    50: '#cdc383',
    500: '#b4ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab4e;
$custom-light: #cdc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab4e",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 54.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7299,
    "c": 0.1153,
    "h": 103.8
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#B4AB4E
secondary
#989CC6
accent
#62D057
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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