#B1AA2A#B1AA2A

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

Color values

HEX#B1AA2A
RGBrgb(177, 170, 42)
HSLhsl(57, 62%, 43%)
HSVhsv(57, 76%, 69%)
CMYKcmyk(0%, 4%, 76.3%, 30.6%)
CIE-LABlab(68.22, -11.84, 61.99)
CIE-LCHlch(68.22, 63.11, 100.81°)
OKLaboklab(72.19% -0.0394 0.1356)
OKLCHoklch(72.19% 0.141 106.2)
XYZxyz(32.9255, 38.2650, 7.8416)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA2A #2A31B1
analogous
#B1662A #B1AA2A #74B12A
triadic
#B1AA2A #2AB1AA #AA2AB1
tetradic
#B1AA2A #2AB166 #2A31B1 #B12A74
square
#B1AA2A #2AB166 #2A31B1 #B12A74
split-complementary
#B1AA2A #2A74B1 #662AB1
monochromatic
#4E4B13 #807A1E #B1AA2A #D3CC45 #DFD977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1AA2A#FFFFFF#000000##000000
##B1AA2A1.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)
#B9A30B
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#BE9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa2a;
/* rgb */ color: rgb(177, 170, 42);
/* oklch */ color: oklch(72.2% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#ccc36e',
    500: '#b1aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa2a;
$custom-light: #ccc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa2a",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 56.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72194,
    "c": 0.14124,
    "h": 106.2
  },
  "luminance": 0.38264
}

Semantic roles & 50–950 ramp

primary
#B1AA2A
secondary
#7075C6
accent
#4BE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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