#B2AC47#B2AC47

#B2AC47 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.123 H 105.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B2AC47
RGBrgb(178, 172, 71)
HSLhsl(57, 43%, 49%)
HSVhsv(57, 60%, 70%)
CMYKcmyk(0%, 3.4%, 60.1%, 30.2%)
CIE-LABlab(69.06, -10.82, 51.39)
CIE-LCHlch(69.06, 52.52, 101.89°)
OKLaboklab(72.95% -0.0336 0.118)
OKLCHoklch(72.95% 0.123 105.9)
XYZxyz(34.2511, 39.4261, 11.7658)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC47 #474DB2
analogous
#B27747 #B2AC47 #83B247
triadic
#B2AC47 #47B2AC #AC47B2
tetradic
#B2AC47 #47B277 #474DB2 #B24783
square
#B2AC47 #47B277 #474DB2 #B24783
split-complementary
#B2AC47 #4783B2 #7747B2
monochromatic
#5B5724 #868236 #B2AC47 #C6C170 #D7D49C

Accessibility & contrast

On white

2.36
#B2AC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B2AC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC47
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC47#FFFFFF#000000##000000
##B2AC471.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63C
Deuteranopia (green-blind)
#BCAB4D
Tritanopia (blue-blind)
#BEA196
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ac47;
/* rgb */ color: rgb(178, 172, 71);
/* oklch */ color: oklch(73.0% 0.123 105.9);
Tailwind
colors: {
  custom: {
    50: '#ccc47e',
    500: '#b2ac47',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac47;
$custom-light: #ccc47e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac47",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 56.636,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72953,
    "c": 0.1227,
    "h": 105.9
  },
  "luminance": 0.39425
}

Semantic roles & 50–950 ramp

primary
#B2AC47
secondary
#9194C4
accent
#5CD355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AC47

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

Preview Lab → · Contrast checker → · Palette generator →

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