#B4AC3C#B4AC3C

#B4AC3C is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.131 H 105.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B4AC3C
RGBrgb(180, 172, 60)
HSLhsl(56, 50%, 47%)
HSVhsv(56, 67%, 71%)
CMYKcmyk(0%, 4.4%, 66.7%, 29.4%)
CIE-LABlab(69.14, -10.68, 56.27)
CIE-LCHlch(69.14, 57.28, 100.74°)
OKLaboklab(73.03% -0.0345 0.1267)
OKLCHoklch(73.03% 0.131 105.2)
XYZxyz(34.3918, 39.5358, 10.0937)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC3C #3C44B4
analogous
#B4703C #B4AC3C #80B43C
triadic
#B4AC3C #3CB4AC #AC3CB4
tetradic
#B4AC3C #3CB470 #3C44B4 #B43C80
square
#B4AC3C #3CB470 #3C44B4 #B43C80
split-complementary
#B4AC3C #3C80B4 #703CB4
monochromatic
#58541D #86802D #B4AC3C #CBC462 #DAD590

Accessibility & contrast

On white

2.36
#B4AC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B4AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC3C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC3C#FFFFFF#000000##000000
##B4AC3C1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62D
Deuteranopia (green-blind)
#BEAB43
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac3c;
/* rgb */ color: rgb(180, 172, 60);
/* oklch */ color: oklch(73.0% 0.131 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec478',
    500: '#b4ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac3c;
$custom-light: #cec478;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac3c",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 56,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.13126,
    "h": 105.2
  },
  "luminance": 0.39535
}

Semantic roles & 50–950 ramp

primary
#B4AC3C
secondary
#878BC5
accent
#58DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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