#B1AA23#B1AA23

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

Color values

HEX#B1AA23
RGBrgb(177, 170, 35)
HSLhsl(57, 67%, 42%)
HSVhsv(57, 80%, 69%)
CMYKcmyk(0%, 4%, 80.2%, 30.6%)
CIE-LABlab(68.18, -12.10, 64.12)
CIE-LCHlch(68.18, 65.25, 100.69°)
OKLaboklab(72.16% -0.0407 0.1389)
OKLCHoklch(72.16% 0.145 106.3)
XYZxyz(32.8110, 38.2192, 7.2385)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA23 #232AB1
analogous
#B16323 #B1AA23 #71B123
triadic
#B1AA23 #23B1AA #AA23B1
tetradic
#B1AA23 #23B163 #232AB1 #B12371
square
#B1AA23 #23B163 #232AB1 #B12371
split-complementary
#B1AA23 #2371B1 #6323B1
monochromatic
#4B480F #7E7919 #B1AA23 #D8D039 #E2DC6C

Accessibility & contrast

On white

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

On black

8.64
#B1AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA23
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA23#FFFFFF#000000##000000
##B1AA231.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BCA92F
Tritanopia (blue-blind)
#BF9E91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa23;
/* rgb */ color: rgb(177, 170, 35);
/* oklch */ color: oklch(72.2% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#ccc26b',
    500: '#b1aa23',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa23;
$custom-light: #ccc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa23",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 57.042,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72156,
    "c": 0.14471,
    "h": 106.3
  },
  "luminance": 0.38218
}

Semantic roles & 50–950 ramp

primary
#B1AA23
secondary
#686CC8
accent
#46EA3E
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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