#B1AA34#B1AA34

#B1AA34 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.135 H 105.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B1AA34
RGBrgb(177, 170, 52)
HSLhsl(57, 55%, 45%)
HSVhsv(57, 71%, 69%)
CMYKcmyk(0%, 4%, 70.6%, 30.6%)
CIE-LABlab(68.27, -11.38, 58.49)
CIE-LCHlch(68.27, 59.59, 101.01°)
OKLaboklab(72.26% -0.0371 0.1301)
OKLCHoklch(72.26% 0.135 105.9)
XYZxyz(33.1273, 38.3457, 8.9046)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA34 #343BB1
analogous
#B16C34 #B1AA34 #7AB134
triadic
#B1AA34 #34B1AA #AA34B1
tetradic
#B1AA34 #34B16C #343BB1 #B1347A
square
#B1AA34 #34B16C #343BB1 #B1347A
split-complementary
#B1AA34 #347AB1 #6C34B1
monochromatic
#524F18 #827D26 #B1AA34 #CDC655 #DBD684

Accessibility & contrast

On white

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

On black

8.67
#B1AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA34
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA34#FFFFFF#000000##000000
##B1AA341.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa34;
/* rgb */ color: rgb(177, 170, 52);
/* oklch */ color: oklch(72.3% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#ccc373',
    500: '#b1aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa34;
$custom-light: #ccc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa34",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 56.64,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7226,
    "c": 0.13526,
    "h": 105.9
  },
  "luminance": 0.38344
}

Semantic roles & 50–950 ramp

primary
#B1AA34
secondary
#7C80C5
accent
#52DE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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