#B1AC27#B1AC27

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

Color values

HEX#B1AC27
RGBrgb(177, 172, 39)
HSLhsl(58, 64%, 42%)
HSVhsv(58, 78%, 69%)
CMYKcmyk(0%, 2.8%, 78%, 30.6%)
CIE-LABlab(68.75, -12.99, 63.43)
CIE-LCHlch(68.75, 64.75, 101.58°)
OKLaboklab(72.62% -0.0429 0.1381)
OKLCHoklch(72.62% 0.145 107.2)
XYZxyz(33.2516, 38.9998, 7.6952)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC27 #272CB1
analogous
#B16727 #B1AC27 #71B127
triadic
#B1AC27 #27B1AC #AC27B1
tetradic
#B1AC27 #27B167 #272CB1 #B12771
square
#B1AC27 #27B167 #272CB1 #B12771
split-complementary
#B1AC27 #2771B1 #6727B1
monochromatic
#4D4B11 #7F7B1C #B1AC27 #D5D040 #E0DC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AC27#FFFFFF#000000##000000
##B1AC271.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)
#BBA500
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#BEA093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac27;
/* rgb */ color: rgb(177, 172, 39);
/* oklch */ color: oklch(72.6% 0.145 107.2);
Tailwind
colors: {
  custom: {
    50: '#ccc46d',
    500: '#b1ac27',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac27;
$custom-light: #ccc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac27",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 57.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.14465,
    "h": 107.2
  },
  "luminance": 0.38999
}

Semantic roles & 50–950 ramp

primary
#B1AC27
secondary
#6D70C7
accent
#47E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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