#B3AC40#B3AC40

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

Color values

HEX#B3AC40
RGBrgb(179, 172, 64)
HSLhsl(56, 47%, 48%)
HSVhsv(56, 64%, 70%)
CMYKcmyk(0%, 3.9%, 64.2%, 29.8%)
CIE-LABlab(69.08, -10.87, 54.51)
CIE-LCHlch(69.08, 55.59, 101.27°)
OKLaboklab(72.97% -0.0345 0.1236)
OKLCHoklch(72.97% 0.128 105.6)
XYZxyz(34.2696, 39.4601, 10.6609)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC40 #4047B3
analogous
#B37340 #B3AC40 #80B340
triadic
#B3AC40 #40B3AC #AC40B3
tetradic
#B3AC40 #40B373 #4047B3 #B34080
square
#B3AC40 #40B373 #4047B3 #B34080
split-complementary
#B3AC40 #4080B3 #7340B3
monochromatic
#595520 #868130 #B3AC40 #C9C367 #D9D594

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AC40#FFFFFF#000000##000000
##B3AC401.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)
#BAA632
Deuteranopia (green-blind)
#BDAB46
Tritanopia (blue-blind)
#C0A196
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b3ac40;
/* rgb */ color: rgb(179, 172, 64);
/* oklch */ color: oklch(73.0% 0.128 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc47a',
    500: '#b3ac40',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac40;
$custom-light: #cdc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac40",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 56.348,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72974,
    "c": 0.12833,
    "h": 105.6
  },
  "luminance": 0.39459
}

Semantic roles & 50–950 ramp

primary
#B3AC40
secondary
#8A8EC4
accent
#59D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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