#B1AC25#B1AC25

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

Color values

HEX#B1AC25
RGBrgb(177, 172, 37)
HSLhsl(58, 65%, 42%)
HSVhsv(58, 79%, 69%)
CMYKcmyk(0%, 2.8%, 79.1%, 30.6%)
CIE-LABlab(68.74, -13.07, 64.03)
CIE-LCHlch(68.74, 65.35, 101.54°)
OKLaboklab(72.61% -0.0433 0.139)
OKLCHoklch(72.61% 0.146 107.3)
XYZxyz(33.2193, 38.9869, 7.5253)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC25 #252AB1
analogous
#B16625 #B1AC25 #70B125
triadic
#B1AC25 #25B1AC #AC25B1
tetradic
#B1AC25 #25B166 #252AB1 #B12570
square
#B1AC25 #25B166 #252AB1 #B12570
split-complementary
#B1AC25 #2570B1 #6625B1
monochromatic
#4C4A10 #7E7B1A #B1AC25 #D6D13D #E1DD6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AC25#FFFFFF#000000##000000
##B1AC251.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)
#BEAA31
Tritanopia (blue-blind)
#BEA093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac25;
/* rgb */ color: rgb(177, 172, 37);
/* oklch */ color: oklch(72.6% 0.146 107.3);
Tailwind
colors: {
  custom: {
    50: '#ccc46c',
    500: '#b1ac25',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac25;
$custom-light: #ccc46c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac25",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 57.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72606,
    "c": 0.14561,
    "h": 107.3
  },
  "luminance": 0.38986
}

Semantic roles & 50–950 ramp

primary
#B1AC25
secondary
#6A6DC8
accent
#45E83F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AC25

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

Preview Lab → · Contrast checker → · Palette generator →

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