#B3AA42#B3AA42

#B3AA42 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.125 H 104.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B3AA42
RGBrgb(179, 170, 66)
HSLhsl(55, 46%, 48%)
HSVhsv(55, 63%, 70%)
CMYKcmyk(0%, 5%, 63.1%, 29.8%)
CIE-LABlab(68.55, -9.69, 53.09)
CIE-LCHlch(68.55, 53.97, 100.35°)
OKLaboklab(72.56% -0.031 0.1209)
OKLCHoklch(72.56% 0.125 104.4)
XYZxyz(33.9497, 38.7277, 10.8401)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA42 #424BB3
analogous
#B37142 #B3AA42 #83B342
triadic
#B3AA42 #42B3AA #AA42B3
tetradic
#B3AA42 #42B371 #424BB3 #B34283
square
#B3AA42 #42B371 #424BB3 #B34283
split-complementary
#B3AA42 #4283B3 #7142B3
monochromatic
#5A5521 #868032 #B3AA42 #C8C16A #D9D397

Accessibility & contrast

On white

2.40
#B3AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B3AA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA42
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA42#FFFFFF#000000##000000
##B3AA421.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#C09F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa42;
/* rgb */ color: rgb(179, 170, 66);
/* oklch */ color: oklch(72.6% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#cdc37b',
    500: '#b3aa42',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa42;
$custom-light: #cdc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa42",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 55.221,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72557,
    "c": 0.12478,
    "h": 104.4
  },
  "luminance": 0.38727
}

Semantic roles & 50–950 ramp

primary
#B3AA42
secondary
#8C91C4
accent
#5DD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B3AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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