#B2AC41#B2AC41

#B2AC41 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.128 H 106.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B2AC41
RGBrgb(178, 172, 65)
HSLhsl(57, 47%, 48%)
HSVhsv(57, 63%, 70%)
CMYKcmyk(0%, 3.4%, 63.5%, 30.2%)
CIE-LABlab(69.01, -11.23, 53.98)
CIE-LCHlch(69.01, 55.13, 101.76°)
OKLaboklab(72.89% -0.0354 0.1227)
OKLCHoklch(72.89% 0.128 106.1)
XYZxyz(34.0680, 39.3528, 10.8013)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC41 #4147B2
analogous
#B27341 #B2AC41 #80B241
triadic
#B2AC41 #41B2AC #AC41B2
tetradic
#B2AC41 #41B273 #4147B2 #B24180
square
#B2AC41 #41B273 #4147B2 #B24180
split-complementary
#B2AC41 #4180B2 #7341B2
monochromatic
#585520 #858131 #B2AC41 #C8C368 #D8D595

Accessibility & contrast

On white

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

On black

8.87
#B2AC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC41
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC41#FFFFFF#000000##000000
##B2AC411.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#BEA196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac41;
/* rgb */ color: rgb(178, 172, 65);
/* oklch */ color: oklch(72.9% 0.128 106.1);
Tailwind
colors: {
  custom: {
    50: '#ccc47b',
    500: '#b2ac41',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac41;
$custom-light: #ccc47b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac41",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 65
  },
  "hsl": {
    "h": 56.814,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72894,
    "c": 0.12765,
    "h": 106.1
  },
  "luminance": 0.39352
}

Semantic roles & 50–950 ramp

primary
#B2AC41
secondary
#8B8EC4
accent
#59D652
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AC41

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

Preview Lab → · Contrast checker → · Palette generator →

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