#B1AA27#B1AA27

#B1AA27 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#B1AA27
RGBrgb(177, 170, 39)
HSLhsl(57, 64%, 42%)
HSVhsv(57, 78%, 69%)
CMYKcmyk(0%, 4%, 78%, 30.6%)
CIE-LABlab(68.20, -11.96, 62.94)
CIE-LCHlch(68.20, 64.06, 100.76°)
OKLaboklab(72.18% -0.04 0.1371)
OKLCHoklch(72.18% 0.143 106.3)
XYZxyz(32.8738, 38.2443, 7.5693)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA27 #272EB1
analogous
#B16527 #B1AA27 #73B127
triadic
#B1AA27 #27B1AA #AA27B1
tetradic
#B1AA27 #27B165 #272EB1 #B12773
square
#B1AA27 #27B165 #272EB1 #B12773
split-complementary
#B1AA27 #2773B1 #6527B1
monochromatic
#4D4A11 #7F7A1C #B1AA27 #D5CD40 #E0DA72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AA27#FFFFFF#000000##000000
##B1AA271.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)
#B9A301
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#BE9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa27;
/* rgb */ color: rgb(177, 170, 39);
/* oklch */ color: oklch(72.2% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#ccc36d',
    500: '#b1aa27',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa27;
$custom-light: #ccc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa27",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 56.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72177,
    "c": 0.1428,
    "h": 106.3
  },
  "luminance": 0.38243
}

Semantic roles & 50–950 ramp

primary
#B1AA27
secondary
#6D71C7
accent
#49E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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