#B3AC3A#B3AC3A

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

Color values

HEX#B3AC3A
RGBrgb(179, 172, 58)
HSLhsl(57, 51%, 46%)
HSVhsv(57, 68%, 70%)
CMYKcmyk(0%, 3.9%, 67.6%, 29.8%)
CIE-LABlab(69.04, -11.23, 56.96)
CIE-LCHlch(69.04, 58.05, 101.15°)
OKLaboklab(72.92% -0.0362 0.1278)
OKLCHoklch(72.92% 0.133 105.8)
XYZxyz(34.1079, 39.3955, 9.8096)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC3A #3A41B3
analogous
#B3703A #B3AC3A #7EB33A
triadic
#B3AC3A #3AB3AC #AC3AB3
tetradic
#B3AC3A #3AB370 #3A41B3 #B33A7E
square
#B3AC3A #3AB370 #3A41B3 #B33A7E
split-complementary
#B3AC3A #3A7EB3 #703AB3
monochromatic
#57531C #85802B #B3AC3A #CBC55F #DAD68D

Accessibility & contrast

On white

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

On black

8.88
#B3AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC3A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC3A#FFFFFF#000000##000000
##B3AC3A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BDAB41
Tritanopia (blue-blind)
#C0A195
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ac3a;
/* rgb */ color: rgb(179, 172, 58);
/* oklch */ color: oklch(72.9% 0.133 105.8);
Tailwind
colors: {
  custom: {
    50: '#cdc477',
    500: '#b3ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac3a;
$custom-light: #cdc477;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac3a",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 56.529,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.13282,
    "h": 105.8
  },
  "luminance": 0.39394
}

Semantic roles & 50–950 ramp

primary
#B3AC3A
secondary
#8488C5
accent
#55DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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