#B2AC33#B2AC33

#B2AC33 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.138 H 106.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B2AC33
RGBrgb(178, 172, 51)
HSLhsl(57, 55%, 45%)
HSVhsv(57, 71%, 70%)
CMYKcmyk(0%, 3.4%, 71.3%, 30.2%)
CIE-LABlab(68.90, -12.03, 59.51)
CIE-LCHlch(68.90, 60.71, 101.43°)
OKLaboklab(72.78% -0.0391 0.132)
OKLCHoklch(72.78% 0.138 106.5)
XYZxyz(33.7115, 39.2102, 8.9239)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC33 #3339B2
analogous
#B26C33 #B2AC33 #79B233
triadic
#B2AC33 #33B2AC #AC33B2
tetradic
#B2AC33 #33B26C #3339B2 #B23379
square
#B2AC33 #33B26C #3339B2 #B23379
split-complementary
#B2AC33 #3379B2 #6C33B2
monochromatic
#535018 #827E25 #B2AC33 #CEC854 #DCD884

Accessibility & contrast

On white

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

On black

8.84
#B2AC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC33
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC33#FFFFFF#000000##000000
##B2AC331.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51E
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#BFA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac33;
/* rgb */ color: rgb(178, 172, 51);
/* oklch */ color: oklch(72.8% 0.138 106.5);
Tailwind
colors: {
  custom: {
    50: '#ccc473',
    500: '#b2ac33',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac33;
$custom-light: #ccc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac33",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 57.165,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72779,
    "c": 0.13768,
    "h": 106.5
  },
  "luminance": 0.39209
}

Semantic roles & 50–950 ramp

primary
#B2AC33
secondary
#7C7FC5
accent
#50DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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