#B3AC34#B3AC34

#B3AC34 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.137 H 106.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B3AC34
RGBrgb(179, 172, 52)
HSLhsl(57, 55%, 45%)
HSVhsv(57, 71%, 70%)
CMYKcmyk(0%, 3.9%, 70.9%, 29.8%)
CIE-LABlab(69.00, -11.55, 59.25)
CIE-LCHlch(69.00, 60.37, 101.03°)
OKLaboklab(72.88% -0.0377 0.1316)
OKLCHoklch(72.88% 0.137 106)
XYZxyz(33.9641, 39.3379, 9.0520)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AC34 #343BB3
analogous
#B36C34 #B3AC34 #7AB334
triadic
#B3AC34 #34B3AC #AC34B3
tetradic
#B3AC34 #34B36C #343BB3 #B3347A
square
#B3AC34 #34B36C #343BB3 #B3347A
split-complementary
#B3AC34 #347AB3 #6C34B3
monochromatic
#545118 #847E26 #B3AC34 #CEC756 #DCD786

Accessibility & contrast

On white

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

On black

8.87
#B3AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AC34
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AC34#FFFFFF#000000##000000
##B3AC341.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ac34;
/* rgb */ color: rgb(179, 172, 52);
/* oklch */ color: oklch(72.9% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#cdc473',
    500: '#b3ac34',
    950: '#000000',
  },
}
SCSS
$custom: #b3ac34;
$custom-light: #cdc473;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ac34",
  "rgb": {
    "r": 179,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 56.693,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72875,
    "c": 0.13691,
    "h": 106
  },
  "luminance": 0.39337
}

Semantic roles & 50–950 ramp

primary
#B3AC34
secondary
#7D81C5
accent
#52DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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