#B1AA29#B1AA29

#B1AA29 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.142 H 106.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B1AA29
RGBrgb(177, 170, 41)
HSLhsl(57, 62%, 43%)
HSVhsv(57, 77%, 69%)
CMYKcmyk(0%, 4%, 76.8%, 30.6%)
CIE-LABlab(68.21, -11.88, 62.31)
CIE-LCHlch(68.21, 63.43, 100.80°)
OKLaboklab(72.19% -0.0396 0.1361)
OKLCHoklch(72.19% 0.142 106.2)
XYZxyz(32.9078, 38.2579, 7.7485)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA29 #2930B1
analogous
#B16629 #B1AA29 #74B129
triadic
#B1AA29 #29B1AA #AA29B1
tetradic
#B1AA29 #29B166 #2930B1 #B12974
square
#B1AA29 #29B166 #2930B1 #B12974
split-complementary
#B1AA29 #2974B1 #6629B1
monochromatic
#4E4B12 #7F7A1D #B1AA29 #D4CC44 #DFDA75

Accessibility & contrast

On white

2.43
#B1AA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B1AA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA29
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA29#FFFFFF#000000##000000
##B1AA291.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A308
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#BE9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa29;
/* rgb */ color: rgb(177, 170, 41);
/* oklch */ color: oklch(72.2% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#ccc36e',
    500: '#b1aa29',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa29;
$custom-light: #ccc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa29",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 41
  },
  "hsl": {
    "h": 56.912,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72188,
    "c": 0.14177,
    "h": 106.2
  },
  "luminance": 0.38257
}

Semantic roles & 50–950 ramp

primary
#B1AA29
secondary
#6F74C7
accent
#4BE542
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AA29

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

Preview Lab → · Contrast checker → · Palette generator →

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