#B2AC3C#B2AC3C

#B2AC3C is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.131 H 106.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B2AC3C
RGBrgb(178, 172, 60)
HSLhsl(57, 50%, 47%)
HSVhsv(57, 66%, 70%)
CMYKcmyk(0%, 3.4%, 66.3%, 30.2%)
CIE-LABlab(68.97, -11.54, 56.04)
CIE-LCHlch(68.97, 57.22, 101.64°)
OKLaboklab(72.85% -0.0368 0.1262)
OKLCHoklch(72.85% 0.131 106.3)
XYZxyz(33.9295, 39.2974, 10.0720)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC3C #3C42B2
analogous
#B2713C #B2AC3C #7DB23C
triadic
#B2AC3C #3CB2AC #AC3CB2
tetradic
#B2AC3C #3CB271 #3C42B2 #B23C7D
square
#B2AC3C #3CB271 #3C42B2 #B23C7D
split-complementary
#B2AC3C #3C7DB2 #713CB2
monochromatic
#56541D #84802D #B2AC3C #CAC561 #D9D68F

Accessibility & contrast

On white

2.37
#B2AC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B2AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC3C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC3C#FFFFFF#000000##000000
##B2AC3C1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62D
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac3c;
/* rgb */ color: rgb(178, 172, 60);
/* oklch */ color: oklch(72.9% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#ccc478',
    500: '#b2ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac3c;
$custom-light: #ccc478;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac3c",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 56.949,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.13148,
    "h": 106.3
  },
  "luminance": 0.39296
}

Semantic roles & 50–950 ramp

primary
#B2AC3C
secondary
#8689C4
accent
#56D94F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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