#B1AA26#B1AA26

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

Color values

HEX#B1AA26
RGBrgb(177, 170, 38)
HSLhsl(57, 65%, 42%)
HSVhsv(57, 79%, 69%)
CMYKcmyk(0%, 4%, 78.5%, 30.6%)
CIE-LABlab(68.20, -12.00, 63.24)
CIE-LCHlch(68.20, 64.37, 100.74°)
OKLaboklab(72.17% -0.0402 0.1375)
OKLCHoklch(72.17% 0.143 106.3)
XYZxyz(32.8574, 38.2377, 7.4832)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA26 #262DB1
analogous
#B16426 #B1AA26 #73B126
triadic
#B1AA26 #26B1AA #AA26B1
tetradic
#B1AA26 #26B164 #262DB1 #B12673
square
#B1AA26 #26B164 #262DB1 #B12673
split-complementary
#B1AA26 #2673B1 #6426B1
monochromatic
#4C4910 #7F7A1B #B1AA26 #D6CE3F #E0DB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AA26#FFFFFF#000000##000000
##B1AA261.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)
#B9A300
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#BE9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa26;
/* rgb */ color: rgb(177, 170, 38);
/* oklch */ color: oklch(72.2% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#ccc36c',
    500: '#b1aa26',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa26;
$custom-light: #ccc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa26",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 56.978,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72172,
    "c": 0.14329,
    "h": 106.3
  },
  "luminance": 0.38237
}

Semantic roles & 50–950 ramp

primary
#B1AA26
secondary
#6B70C7
accent
#49E840
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AA26

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

Preview Lab → · Contrast checker → · Palette generator →

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