#B2AC34#B2AC34

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

Color values

HEX#B2AC34
RGBrgb(178, 172, 52)
HSLhsl(57, 55%, 45%)
HSVhsv(57, 71%, 70%)
CMYKcmyk(0%, 3.4%, 70.8%, 30.2%)
CIE-LABlab(68.91, -11.98, 59.14)
CIE-LCHlch(68.91, 60.34, 101.45°)
OKLaboklab(72.79% -0.0389 0.1314)
OKLCHoklch(72.79% 0.137 106.5)
XYZxyz(33.7338, 39.2191, 9.0413)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC34 #343AB2
analogous
#B26D34 #B2AC34 #79B234
triadic
#B2AC34 #34B2AC #AC34B2
tetradic
#B2AC34 #34B26D #343AB2 #B23479
square
#B2AC34 #34B26D #343AB2 #B23479
split-complementary
#B2AC34 #3479B2 #6D34B2
monochromatic
#535018 #837E26 #B2AC34 #CEC856 #DBD785

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC34#FFFFFF#000000##000000
##B2AC341.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ac34;
/* rgb */ color: rgb(178, 172, 52);
/* oklch */ color: oklch(72.8% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#ccc473',
    500: '#b2ac34',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac34;
$custom-light: #ccc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac34",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 57.143,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72787,
    "c": 0.13704,
    "h": 106.5
  },
  "luminance": 0.39218
}

Semantic roles & 50–950 ramp

primary
#B2AC34
secondary
#7D80C5
accent
#51DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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