#B2AC2A#B2AC2A

#B2AC2A is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.143 H 106.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B2AC2A
RGBrgb(178, 172, 42)
HSLhsl(57, 62%, 43%)
HSVhsv(57, 76%, 70%)
CMYKcmyk(0%, 3.4%, 76.4%, 30.2%)
CIE-LABlab(68.85, -12.44, 62.60)
CIE-LCHlch(68.85, 63.83, 101.24°)
OKLaboklab(72.72% -0.0411 0.1369)
OKLCHoklch(72.72% 0.143 106.7)
XYZxyz(33.5319, 39.1384, 7.9782)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC2A #2A30B2
analogous
#B2682A #B2AC2A #74B22A
triadic
#B2AC2A #2AB2AC #AC2AB2
tetradic
#B2AC2A #2AB268 #2A30B2 #B22A74
square
#B2AC2A #2AB268 #2A30B2 #B22A74
split-complementary
#B2AC2A #2A74B2 #682AB2
monochromatic
#4F4C13 #807C1E #B2AC2A #D3CD46 #DFDA77

Accessibility & contrast

On white

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

On black

8.83
#B2AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC2A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC2A#FFFFFF#000000##000000
##B2AC2A1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA509
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac2a;
/* rgb */ color: rgb(178, 172, 42);
/* oklch */ color: oklch(72.7% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#cdc46e',
    500: '#b2ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac2a;
$custom-light: #cdc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac2a",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 57.353,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72721,
    "c": 0.14295,
    "h": 106.7
  },
  "luminance": 0.39137
}

Semantic roles & 50–950 ramp

primary
#B2AC2A
secondary
#7175C7
accent
#4AE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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