#B2AC3A#B2AC3A

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

Color values

HEX#B2AC3A
RGBrgb(178, 172, 58)
HSLhsl(57, 51%, 46%)
HSVhsv(57, 67%, 70%)
CMYKcmyk(0%, 3.4%, 67.4%, 30.2%)
CIE-LABlab(68.95, -11.66, 56.84)
CIE-LCHlch(68.95, 58.03, 101.59°)
OKLaboklab(72.83% -0.0374 0.1276)
OKLCHoklch(72.83% 0.133 106.3)
XYZxyz(33.8776, 39.2767, 9.7988)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC3A #3A40B2
analogous
#B2703A #B2AC3A #7CB23A
triadic
#B2AC3A #3AB2AC #AC3AB2
tetradic
#B2AC3A #3AB270 #3A40B2 #B23A7C
square
#B2AC3A #3AB270 #3A40B2 #B23A7C
split-complementary
#B2AC3A #3A7CB2 #703AB2
monochromatic
#56531C #847F2B #B2AC3A #CBC55F #DAD68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC3A#FFFFFF#000000##000000
##B2AC3A1.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)
#BAA62A
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac3a;
/* rgb */ color: rgb(178, 172, 58);
/* oklch */ color: oklch(72.8% 0.133 106.3);
Tailwind
colors: {
  custom: {
    50: '#ccc477',
    500: '#b2ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac3a;
$custom-light: #ccc477;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac3a",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 57,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72833,
    "c": 0.13294,
    "h": 106.3
  },
  "luminance": 0.39276
}

Semantic roles & 50–950 ramp

primary
#B2AC3A
secondary
#8387C4
accent
#55DA4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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