#B3AC3C#B3AC3C

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

Color values

HEX#B3AC3C
RGBrgb(179, 172, 60)
HSLhsl(56, 50%, 47%)
HSVhsv(56, 66%, 70%)
CMYKcmyk(0%, 3.9%, 66.5%, 29.8%)
CIE-LABlab(69.05, -11.11, 56.16)
CIE-LCHlch(69.05, 57.25, 101.19°)
OKLaboklab(72.94% -0.0356 0.1264)
OKLCHoklch(72.94% 0.131 105.7)
XYZxyz(34.1598, 39.4162, 10.0828)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC3C #3C43B3
analogous
#B3713C #B3AC3C #7EB33C
triadic
#B3AC3C #3CB3AC #AC3CB3
tetradic
#B3AC3C #3CB371 #3C43B3 #B33C7E
square
#B3AC3C #3CB371 #3C43B3 #B33C7E
split-complementary
#B3AC3C #3C7EB3 #713CB3
monochromatic
#57541D #85802D #B3AC3C #CAC462 #DAD590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AC3C#FFFFFF#000000##000000
##B3AC3C1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ac3c;
/* rgb */ color: rgb(179, 172, 60);
/* oklch */ color: oklch(72.9% 0.131 105.7);
Tailwind
colors: {
  custom: {
    50: '#cdc478',
    500: '#b3ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac3c;
$custom-light: #cdc478;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac3c",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 56.471,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.13137,
    "h": 105.7
  },
  "luminance": 0.39415
}

Semantic roles & 50–950 ramp

primary
#B3AC3C
secondary
#868AC5
accent
#57D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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