#B1A950#B1A950

#B1A950 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.112 H 104.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B1A950
RGBrgb(177, 169, 80)
HSLhsl(55, 38%, 50%)
HSVhsv(55, 55%, 69%)
CMYKcmyk(0%, 4.5%, 54.8%, 30.6%)
CIE-LABlab(68.24, -8.99, 46.26)
CIE-LCHlch(68.24, 47.12, 101.00°)
OKLaboklab(72.31% -0.0272 0.1081)
OKLCHoklch(72.31% 0.112 104.1)
XYZxyz(33.7684, 38.3033, 13.2024)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A950 #5058B1
analogous
#B17950 #B1A950 #88B150
triadic
#B1A950 #50B1A9 #A950B1
tetradic
#B1A950 #50B179 #5058B1 #B15088
square
#B1A950 #50B179 #5058B1 #B15088
split-complementary
#B1A950 #5088B1 #7950B1
monochromatic
#5D5929 #87813C #B1A950 #C4BE7A #D7D3A5

Accessibility & contrast

On white

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

On black

8.66
#B1A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A950
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A950#FFFFFF#000000##000000
##B1A9501.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A447
Deuteranopia (green-blind)
#B9A854
Tritanopia (blue-blind)
#BD9F95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a950;
/* rgb */ color: rgb(177, 169, 80);
/* oklch */ color: oklch(72.3% 0.112 104.1);
Tailwind
colors: {
  custom: {
    50: '#cac284',
    500: '#b1a950',
    950: '#000000',
  },
}
SCSS
$custom: #b1a950;
$custom-light: #cac284;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a950",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 55.052,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72313,
    "c": 0.11152,
    "h": 104.1
  },
  "luminance": 0.38302
}

Semantic roles & 50–950 ramp

primary
#B1A950
secondary
#999CC4
accent
#63CE5A
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B1A950

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

Preview Lab → · Contrast checker → · Palette generator →

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