#B1AC3D#B1AC3D

#B1AC3D is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.131 H 106.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B1AC3D
RGBrgb(177, 172, 61)
HSLhsl(57, 49%, 47%)
HSVhsv(57, 66%, 69%)
CMYKcmyk(0%, 2.8%, 65.5%, 30.6%)
CIE-LABlab(68.89, -11.91, 55.52)
CIE-LCHlch(68.89, 56.79, 102.11°)
OKLaboklab(72.77% -0.0377 0.1253)
OKLCHoklch(72.77% 0.131 106.7)
XYZxyz(33.7275, 39.1902, 10.2018)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AC3D #3D42B1
analogous
#B1723D #B1AC3D #7CB13D
triadic
#B1AC3D #3DB1AC #AC3DB1
tetradic
#B1AC3D #3DB172 #3D42B1 #B13D7C
square
#B1AC3D #3DB172 #3D42B1 #B13D7C
split-complementary
#B1AC3D #3D7CB1 #723DB1
monochromatic
#56541E #83802D #B1AC3D #C9C562 #D9D690

Accessibility & contrast

On white

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

On black

8.84
#B1AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AC3D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AC3D#FFFFFF#000000##000000
##B1AC3D1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62E
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#BEA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b1ac3d;
/* rgb */ color: rgb(177, 172, 61);
/* oklch */ color: oklch(72.8% 0.131 106.7);
Tailwind
colors: {
  custom: {
    50: '#cbc478',
    500: '#b1ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #b1ac3d;
$custom-light: #cbc478;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ac3d",
  "rgb": {
    "r": 177,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 57.414,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.13087,
    "h": 106.7
  },
  "luminance": 0.39189
}

Semantic roles & 50–950 ramp

primary
#B1AC3D
secondary
#8689C4
accent
#55D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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