#B1AC30#B1AC30

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

Color values

HEX#B1AC30
RGBrgb(177, 172, 48)
HSLhsl(58, 57%, 44%)
HSVhsv(58, 73%, 69%)
CMYKcmyk(0%, 2.8%, 72.9%, 30.6%)
CIE-LABlab(68.80, -12.61, 60.48)
CIE-LCHlch(68.80, 61.78, 101.78°)
OKLaboklab(72.67% -0.041 0.1335)
OKLCHoklch(72.67% 0.14 107.1)
XYZxyz(33.4188, 39.0667, 8.5760)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC30 #3035B1
analogous
#B16B30 #B1AC30 #76B130
triadic
#B1AC30 #30B1AC #AC30B1
tetradic
#B1AC30 #30B16B #3035B1 #B13076
square
#B1AC30 #30B16B #3035B1 #B13076
split-complementary
#B1AC30 #3076B1 #6B30B1
monochromatic
#514E16 #817D23 #B1AC30 #CFCA4F #DCD97F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AC30#FFFFFF#000000##000000
##B1AC301.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)
#BBA519
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac30;
/* rgb */ color: rgb(177, 172, 48);
/* oklch */ color: oklch(72.7% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc471',
    500: '#b1ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac30;
$custom-light: #ccc471;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac30",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 57.674,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7267,
    "c": 0.13969,
    "h": 107.1
  },
  "luminance": 0.39066
}

Semantic roles & 50–950 ramp

primary
#B1AC30
secondary
#787BC5
accent
#4DE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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