#B3AC2B#B3AC2B

#B3AC2B is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.142 H 106.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B3AC2B
RGBrgb(179, 172, 43)
HSLhsl(57, 61%, 44%)
HSVhsv(57, 76%, 70%)
CMYKcmyk(0%, 3.9%, 76%, 29.8%)
CIE-LABlab(68.94, -11.96, 62.39)
CIE-LCHlch(68.94, 63.53, 100.85°)
OKLaboklab(72.82% -0.0398 0.1366)
OKLCHoklch(72.82% 0.142 106.2)
XYZxyz(33.7804, 39.2644, 8.0844)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC2B #2B32B3
analogous
#B3682B #B3AC2B #76B32B
triadic
#B3AC2B #2BB3AC #AC2BB3
tetradic
#B3AC2B #2BB368 #2B32B3 #B32B76
square
#B3AC2B #2BB368 #2B32B3 #B32B76
split-complementary
#B3AC2B #2B76B3 #682BB3
monochromatic
#504D13 #827D1F #B3AC2B #D3CC48 #DFDA79

Accessibility & contrast

On white

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

On black

8.85
#B3AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC2B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC2B#FFFFFF#000000##000000
##B3AC2B1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA50C
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac2b;
/* rgb */ color: rgb(179, 172, 43);
/* oklch */ color: oklch(72.8% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#cdc46f',
    500: '#b3ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac2b;
$custom-light: #cdc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac2b",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 56.912,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72816,
    "c": 0.14226,
    "h": 106.2
  },
  "luminance": 0.39263
}

Semantic roles & 50–950 ramp

primary
#B3AC2B
secondary
#7377C7
accent
#4CE443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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