#B1AC4E#B1AC4E

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

Color values

HEX#B1AC4E
RGBrgb(177, 172, 78)
HSLhsl(57, 39%, 50%)
HSVhsv(57, 56%, 69%)
CMYKcmyk(0%, 2.8%, 55.9%, 30.6%)
CIE-LABlab(69.04, -10.72, 48.12)
CIE-LCHlch(69.04, 49.30, 102.56°)
OKLaboklab(72.94% -0.0324 0.1119)
OKLCHoklch(72.94% 0.117 106.1)
XYZxyz(34.2601, 39.4033, 13.0071)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC4E #4E53B1
analogous
#B17B4E #B1AC4E #84B14E
triadic
#B1AC4E #4EB1AC #AC4EB1
tetradic
#B1AC4E #4EB17B #4E53B1 #B14E84
square
#B1AC4E #4EB17B #4E53B1 #B14E84
split-complementary
#B1AC4E #4E84B1 #7B4EB1
monochromatic
#5C5929 #87833B #B1AC4E #C4C078 #D6D4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AC4E#FFFFFF#000000##000000
##B1AC4E1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ac4e;
/* rgb */ color: rgb(177, 172, 78);
/* oklch */ color: oklch(72.9% 0.117 106.1);
Tailwind
colors: {
  custom: {
    50: '#cbc483',
    500: '#b1ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac4e;
$custom-light: #cbc483;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac4e",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 56.97,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.11654,
    "h": 106.1
  },
  "luminance": 0.39402
}

Semantic roles & 50–950 ramp

primary
#B1AC4E
secondary
#9799C4
accent
#5FCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B1AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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