#B1AD32#B1AD32

#B1AD32 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.9% C 0.139 H 107.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B1AD32
RGBrgb(177, 173, 50)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 69%)
CMYKcmyk(0%, 2.3%, 71.8%, 30.6%)
CIE-LABlab(69.09, -13.03, 60.03)
CIE-LCHlch(69.09, 61.43, 102.25°)
OKLaboklab(72.9% -0.042 0.133)
OKLCHoklch(72.9% 0.139 107.5)
XYZxyz(33.6520, 39.4657, 8.8620)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD32 #3236B1
analogous
#B16D32 #B1AD32 #76B132
triadic
#B1AD32 #32B1AD #AD32B1
tetradic
#B1AD32 #32B16D #3236B1 #B13276
square
#B1AD32 #32B16D #3236B1 #B13276
split-complementary
#B1AD32 #3276B1 #6D32B1
monochromatic
#525017 #817E25 #B1AD32 #CECA52 #DCD982

Accessibility & contrast

On white

2.36
#B1AD32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B1AD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD32
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD32#FFFFFF#000000##000000
##B1AD321.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61C
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#BEA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ad32;
/* rgb */ color: rgb(177, 173, 50);
/* oklch */ color: oklch(72.9% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#ccc572',
    500: '#b1ad32',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad32;
$custom-light: #ccc572;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad32",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 50
  },
  "hsl": {
    "h": 58.11,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72903,
    "c": 0.13943,
    "h": 107.5
  },
  "luminance": 0.39465
}

Semantic roles & 50–950 ramp

primary
#B1AD32
secondary
#7A7CC5
accent
#4DDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD32

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

Preview Lab → · Contrast checker → · Palette generator →

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