#B1AA37#B1AA37

#B1AA37 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.133 H 105.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B1AA37
RGBrgb(177, 170, 55)
HSLhsl(57, 53%, 45%)
HSVhsv(57, 69%, 69%)
CMYKcmyk(0%, 4%, 68.9%, 30.6%)
CIE-LABlab(68.30, -11.22, 57.35)
CIE-LCHlch(68.30, 58.43, 101.07°)
OKLaboklab(72.28% -0.0364 0.1282)
OKLCHoklch(72.28% 0.133 105.8)
XYZxyz(33.1971, 38.3736, 9.2719)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA37 #373EB1
analogous
#B16D37 #B1AA37 #7BB137
triadic
#B1AA37 #37B1AA #AA37B1
tetradic
#B1AA37 #37B16D #373EB1 #B1377B
square
#B1AA37 #37B16D #373EB1 #B1377B
split-complementary
#B1AA37 #377BB1 #6D37B1
monochromatic
#54501A #827D28 #B1AA37 #CCC55A #DAD588

Accessibility & contrast

On white

2.42
#B1AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B1AA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA37
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA37#FFFFFF#000000##000000
##B1AA371.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#BBA93F
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa37;
/* rgb */ color: rgb(177, 170, 55);
/* oklch */ color: oklch(72.3% 0.133 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc375',
    500: '#b1aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa37;
$custom-light: #ccc375;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa37",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 56.557,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72283,
    "c": 0.13323,
    "h": 105.8
  },
  "luminance": 0.38372
}

Semantic roles & 50–950 ramp

primary
#B1AA37
secondary
#8084C4
accent
#54DC4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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