#B1AC2E#B1AC2E

#B1AC2E is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.141 H 107.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B1AC2E
RGBrgb(177, 172, 46)
HSLhsl(58, 59%, 44%)
HSVhsv(58, 74%, 69%)
CMYKcmyk(0%, 2.8%, 74%, 30.6%)
CIE-LABlab(68.79, -12.71, 61.17)
CIE-LCHlch(68.79, 62.47, 101.73°)
OKLaboklab(72.66% -0.0415 0.1346)
OKLCHoklch(72.66% 0.141 107.1)
XYZxyz(33.3785, 39.0506, 8.3635)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC2E #2E33B1
analogous
#B16A2E #B1AC2E #74B12E
triadic
#B1AC2E #2EB1AC #AC2EB1
tetradic
#B1AC2E #2EB16A #2E33B1 #B12E74
square
#B1AC2E #2EB16A #2E33B1 #B12E74
split-complementary
#B1AC2E #2E74B1 #6A2EB1
monochromatic
#504E15 #807D21 #B1AC2E #D0CB4C #DDD97C

Accessibility & contrast

On white

2.38
#B1AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B1AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC2E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC2E#FFFFFF#000000##000000
##B1AC2E1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA514
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac2e;
/* rgb */ color: rgb(177, 172, 46);
/* oklch */ color: oklch(72.7% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc470',
    500: '#b1ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac2e;
$custom-light: #ccc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac2e",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 57.71,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72657,
    "c": 0.14087,
    "h": 107.1
  },
  "luminance": 0.39049
}

Semantic roles & 50–950 ramp

primary
#B1AC2E
secondary
#7578C6
accent
#4CE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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