#B2AC29#B2AC29

#B2AC29 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#B2AC29
RGBrgb(178, 172, 41)
HSLhsl(57, 63%, 43%)
HSVhsv(57, 77%, 70%)
CMYKcmyk(0%, 3.4%, 77%, 30.2%)
CIE-LABlab(68.85, -12.48, 62.92)
CIE-LCHlch(68.85, 64.15, 101.22°)
OKLaboklab(72.72% -0.0413 0.1374)
OKLCHoklch(72.72% 0.143 106.7)
XYZxyz(33.5142, 39.1313, 7.8851)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC29 #292FB2
analogous
#B26729 #B2AC29 #74B229
triadic
#B2AC29 #29B2AC #AC29B2
tetradic
#B2AC29 #29B267 #292FB2 #B22974
square
#B2AC29 #29B267 #292FB2 #B22974
split-complementary
#B2AC29 #2974B2 #6729B2
monochromatic
#4F4C12 #807C1E #B2AC29 #D4CE44 #DFDB76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC29#FFFFFF#000000##000000
##B2AC291.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)
#BBA506
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac29;
/* rgb */ color: rgb(178, 172, 41);
/* oklch */ color: oklch(72.7% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#cdc46e',
    500: '#b2ac29',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac29;
$custom-light: #cdc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac29",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 57.372,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72716,
    "c": 0.14347,
    "h": 106.7
  },
  "luminance": 0.3913
}

Semantic roles & 50–950 ramp

primary
#B2AC29
secondary
#7074C7
accent
#49E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC29

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

Preview Lab → · Contrast checker → · Palette generator →

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