#B3AA34#B3AA34

#B3AA34 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.135 H 104.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B3AA34
RGBrgb(179, 170, 52)
HSLhsl(56, 55%, 45%)
HSVhsv(56, 71%, 70%)
CMYKcmyk(0%, 5%, 70.9%, 29.8%)
CIE-LABlab(68.45, -10.51, 58.72)
CIE-LCHlch(68.45, 59.65, 100.15°)
OKLaboklab(72.44% -0.0348 0.1305)
OKLCHoklch(72.44% 0.135 104.9)
XYZxyz(33.5863, 38.5824, 8.9261)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA34 #343DB3
analogous
#B36A34 #B3AA34 #7CB334
triadic
#B3AA34 #34B3AA #AA34B3
tetradic
#B3AA34 #34B36A #343DB3 #B3347C
square
#B3AA34 #34B36A #343DB3 #B3347C
split-complementary
#B3AA34 #347CB3 #6A34B3
monochromatic
#545018 #847D26 #B3AA34 #CEC556 #DCD686

Accessibility & contrast

On white

2.41
#B3AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B3AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA34
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA34#FFFFFF#000000##000000
##B3AA341.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#C09E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa34;
/* rgb */ color: rgb(179, 170, 52);
/* oklch */ color: oklch(72.4% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#cdc373',
    500: '#b3aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa34;
$custom-light: #cdc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa34",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 55.748,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72439,
    "c": 0.13503,
    "h": 104.9
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

primary
#B3AA34
secondary
#7D82C5
accent
#54DE49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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