#B3AC2F#B3AC2F

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

Color values

HEX#B3AC2F
RGBrgb(179, 172, 47)
HSLhsl(57, 58%, 44%)
HSVhsv(57, 74%, 70%)
CMYKcmyk(0%, 3.9%, 73.7%, 29.8%)
CIE-LABlab(68.96, -11.79, 61.05)
CIE-LCHlch(68.96, 62.17, 100.93°)
OKLaboklab(72.84% -0.0389 0.1345)
OKLCHoklch(72.84% 0.14 106.1)
XYZxyz(33.8574, 39.2952, 8.4901)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC2F #2F36B3
analogous
#B36A2F #B3AC2F #78B32F
triadic
#B3AC2F #2FB3AC #AC2FB3
tetradic
#B3AC2F #2FB36A #2F36B3 #B32F78
square
#B3AC2F #2FB36A #2F36B3 #B32F78
split-complementary
#B3AC2F #2F78B3 #6A2FB3
monochromatic
#524F16 #837D22 #B3AC2F #D1CA4F #DDD87F

Accessibility & contrast

On white

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

On black

8.86
#B3AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC2F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC2F#FFFFFF#000000##000000
##B3AC2F1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ac2f;
/* rgb */ color: rgb(179, 172, 47);
/* oklch */ color: oklch(72.8% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#cdc471',
    500: '#b3ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac2f;
$custom-light: #cdc471;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac2f",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 56.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.13999,
    "h": 106.1
  },
  "luminance": 0.39294
}

Semantic roles & 50–950 ramp

primary
#B3AC2F
secondary
#787CC6
accent
#4EE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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