#B1AA39#B1AA39

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

Color values

HEX#B1AA39
RGBrgb(177, 170, 57)
HSLhsl(57, 51%, 46%)
HSVhsv(57, 68%, 69%)
CMYKcmyk(0%, 4%, 67.8%, 30.6%)
CIE-LABlab(68.31, -11.11, 56.56)
CIE-LCHlch(68.31, 57.64, 101.11°)
OKLaboklab(72.3% -0.0359 0.1269)
OKLCHoklch(72.3% 0.132 105.8)
XYZxyz(33.2460, 38.3932, 9.5295)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA39 #3940B1
analogous
#B16E39 #B1AA39 #7CB139
triadic
#B1AA39 #39B1AA #AA39B1
tetradic
#B1AA39 #39B16E #3940B1 #B1397C
square
#B1AA39 #39B16E #3940B1 #B1397C
split-complementary
#B1AA39 #397CB1 #6E39B1
monochromatic
#54511B #837E2A #B1AA39 #CBC45D #DAD58B

Accessibility & contrast

On white

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

On black

8.68
#B1AA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA39
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA39#FFFFFF#000000##000000
##B1AA391.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A429
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1aa39;
/* rgb */ color: rgb(177, 170, 57);
/* oklch */ color: oklch(72.3% 0.132 105.8);
Tailwind
colors: {
  custom: {
    50: '#cbc376',
    500: '#b1aa39',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa39;
$custom-light: #cbc376;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa39",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 56.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72299,
    "c": 0.13183,
    "h": 105.8
  },
  "luminance": 0.38392
}

Semantic roles & 50–950 ramp

primary
#B1AA39
secondary
#8286C4
accent
#55DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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