#B3AA31#B3AA31

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

Color values

HEX#B3AA31
RGBrgb(179, 170, 49)
HSLhsl(56, 57%, 45%)
HSVhsv(56, 73%, 70%)
CMYKcmyk(0%, 5%, 72.6%, 29.8%)
CIE-LABlab(68.43, -10.66, 59.82)
CIE-LCHlch(68.43, 60.76, 100.10°)
OKLaboklab(72.42% -0.0355 0.1323)
OKLCHoklch(72.42% 0.137 105)
XYZxyz(33.5209, 38.5562, 8.5815)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA31 #313AB3
analogous
#B36931 #B3AA31 #7BB331
triadic
#B3AA31 #31B3AA #AA31B3
tetradic
#B3AA31 #31B369 #313AB3 #B3317B
square
#B3AA31 #31B369 #313AB3 #B3317B
split-complementary
#B3AA31 #317BB3 #6931B3
monochromatic
#534F17 #837C24 #B3AA31 #D0C752 #DDD682

Accessibility & contrast

On white

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

On black

8.71
#B3AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA31
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA31#FFFFFF#000000##000000
##B3AA311.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#C09E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa31;
/* rgb */ color: rgb(179, 170, 49);
/* oklch */ color: oklch(72.4% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#cdc372',
    500: '#b3aa31',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa31;
$custom-light: #cdc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa31",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 55.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72418,
    "c": 0.13694,
    "h": 105
  },
  "luminance": 0.38555
}

Semantic roles & 50–950 ramp

primary
#B3AA31
secondary
#7A7FC6
accent
#52E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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