#B2AC2B#B2AC2B

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

Color values

HEX#B2AC2B
RGBrgb(178, 172, 43)
HSLhsl(57, 61%, 43%)
HSVhsv(57, 76%, 70%)
CMYKcmyk(0%, 3.4%, 75.8%, 30.2%)
CIE-LABlab(68.86, -12.40, 62.28)
CIE-LCHlch(68.86, 63.50, 101.26°)
OKLaboklab(72.73% -0.0409 0.1364)
OKLCHoklch(72.73% 0.142 106.7)
XYZxyz(33.5500, 39.1457, 8.0736)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC2B #2B31B2
analogous
#B2682B #B2AC2B #74B22B
triadic
#B2AC2B #2BB2AC #AC2BB2
tetradic
#B2AC2B #2BB268 #2B31B2 #B22B74
square
#B2AC2B #2BB268 #2B31B2 #B22B74
split-complementary
#B2AC2B #2B74B2 #682BB2
monochromatic
#4F4D13 #817C1F #B2AC2B #D3CC48 #DFDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC2B#FFFFFF#000000##000000
##B2AC2B1.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)
#BBA50C
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac2b;
/* rgb */ color: rgb(178, 172, 43);
/* oklch */ color: oklch(72.7% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#cdc46f',
    500: '#b2ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac2b;
$custom-light: #cdc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac2b",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 57.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.14241,
    "h": 106.7
  },
  "luminance": 0.39144
}

Semantic roles & 50–950 ramp

primary
#B2AC2B
secondary
#7276C7
accent
#4BE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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