#B1AC28#B1AC28

#B1AC28 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.6% C 0.144 H 107.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B1AC28
RGBrgb(177, 172, 40)
HSLhsl(58, 63%, 43%)
HSVhsv(58, 77%, 69%)
CMYKcmyk(0%, 2.8%, 77.4%, 30.6%)
CIE-LABlab(68.76, -12.96, 63.13)
CIE-LCHlch(68.76, 64.44, 101.60°)
OKLaboklab(72.62% -0.0427 0.1377)
OKLCHoklch(72.62% 0.144 107.2)
XYZxyz(33.2683, 39.0065, 7.7837)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC28 #282DB1
analogous
#B16728 #B1AC28 #72B128
triadic
#B1AC28 #28B1AC #AC28B1
tetradic
#B1AC28 #28B167 #282DB1 #B12872
square
#B1AC28 #28B167 #282DB1 #B12872
split-complementary
#B1AC28 #2872B1 #6728B1
monochromatic
#4D4B11 #7F7B1D #B1AC28 #D4CF42 #E0DC74

Accessibility & contrast

On white

2.39
#B1AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B1AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC28
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC28#FFFFFF#000000##000000
##B1AC281.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA503
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#BEA093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac28;
/* rgb */ color: rgb(177, 172, 40);
/* oklch */ color: oklch(72.6% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#ccc46e',
    500: '#b1ac28',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac28;
$custom-light: #ccc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac28",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 57.81,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.14414,
    "h": 107.2
  },
  "luminance": 0.39005
}

Semantic roles & 50–950 ramp

primary
#B1AC28
secondary
#6E71C7
accent
#48E642
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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