#B2AC40#B2AC40

#B2AC40 is a light, vivid yellow. Relative luminance 0.393; 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#B2AC40
RGBrgb(178, 172, 64)
HSLhsl(57, 47%, 47%)
HSVhsv(57, 64%, 70%)
CMYKcmyk(0%, 3.4%, 64%, 30.2%)
CIE-LABlab(69.00, -11.30, 54.40)
CIE-LCHlch(69.00, 55.56, 101.73°)
OKLaboklab(72.89% -0.0357 0.1234)
OKLCHoklch(72.89% 0.128 106.1)
XYZxyz(34.0392, 39.3413, 10.6501)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC40 #4046B2
analogous
#B27340 #B2AC40 #7FB240
triadic
#B2AC40 #40B2AC #AC40B2
tetradic
#B2AC40 #40B273 #4046B2 #B2407F
square
#B2AC40 #40B273 #4046B2 #B2407F
split-complementary
#B2AC40 #407FB2 #7340B2
monochromatic
#585520 #858130 #B2AC40 #C8C367 #D8D594

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AC40#FFFFFF#000000##000000
##B2AC401.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)
#BAA632
Deuteranopia (green-blind)
#BDAA47
Tritanopia (blue-blind)
#BFA196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac40;
/* rgb */ color: rgb(178, 172, 64);
/* oklch */ color: oklch(72.9% 0.128 106.1);
Tailwind
colors: {
  custom: {
    50: '#ccc47a',
    500: '#b2ac40',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac40;
$custom-light: #ccc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac40",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 56.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72885,
    "c": 0.12844,
    "h": 106.1
  },
  "luminance": 0.3934
}

Semantic roles & 50–950 ramp

primary
#B2AC40
secondary
#8A8DC4
accent
#58D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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