#B1AC2D#B1AC2D

#B1AC2D 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#B1AC2D
RGBrgb(177, 172, 45)
HSLhsl(58, 59%, 44%)
HSVhsv(58, 75%, 69%)
CMYKcmyk(0%, 2.8%, 74.6%, 30.6%)
CIE-LABlab(68.78, -12.75, 61.51)
CIE-LCHlch(68.78, 62.82, 101.71°)
OKLaboklab(72.65% -0.0417 0.1352)
OKLCHoklch(72.65% 0.141 107.1)
XYZxyz(33.3590, 39.0428, 8.2609)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC2D #2D32B1
analogous
#B16A2D #B1AC2D #74B12D
triadic
#B1AC2D #2DB1AC #AC2DB1
tetradic
#B1AC2D #2DB16A #2D32B1 #B12D74
square
#B1AC2D #2DB16A #2D32B1 #B12D74
split-complementary
#B1AC2D #2D74B1 #6A2DB1
monochromatic
#4F4D14 #807D21 #B1AC2D #D1CC4A #DDDA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AC2D#FFFFFF#000000##000000
##B1AC2D1.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)
#BBA512
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac2d;
/* rgb */ color: rgb(177, 172, 45);
/* oklch */ color: oklch(72.7% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc470',
    500: '#b1ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac2d;
$custom-light: #ccc470;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac2d",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 57.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72651,
    "c": 0.14145,
    "h": 107.1
  },
  "luminance": 0.39042
}

Semantic roles & 50–950 ramp

primary
#B1AC2D
secondary
#7477C6
accent
#4BE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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