#B1A149#B1A149

#B1A149 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.110 H 99.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B1A149
RGBrgb(177, 161, 73)
HSLhsl(51, 42%, 49%)
HSVhsv(51, 59%, 69%)
CMYKcmyk(0%, 9%, 58.8%, 30.6%)
CIE-LABlab(66.00, -5.31, 47.03)
CIE-LCHlch(66.00, 47.33, 96.44°)
OKLaboklab(70.51% -0.0175 0.109)
OKLCHoklch(70.51% 0.11 99.1)
XYZxyz(32.0801, 35.3192, 11.4295)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A149 #4959B1
analogous
#B16D49 #B1A149 #8DB149
triadic
#B1A149 #49B1A1 #A149B1
tetradic
#B1A149 #49B16D #4959B1 #B1498D
square
#B1A149 #49B16D #4959B1 #B1498D
split-complementary
#B1A149 #498DB1 #6D49B1
monochromatic
#5A5225 #867A37 #B1A149 #C5B872 #D7CE9E

Accessibility & contrast

On white

2.60
#B1A149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B1A149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A149
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A149#FFFFFF#000000##000000
##B1A1491.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D40
Deuteranopia (green-blind)
#B3A34D
Tritanopia (blue-blind)
#BE968E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a149;
/* rgb */ color: rgb(177, 161, 73);
/* oklch */ color: oklch(70.5% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#cbbc7f',
    500: '#b1a149',
    950: '#000000',
  },
}
SCSS
$custom: #b1a149;
$custom-light: #cbbc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a149",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 73
  },
  "hsl": {
    "h": 50.769,
    "s": 41.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70506,
    "c": 0.11037,
    "h": 99.1
  },
  "luminance": 0.35318
}

Semantic roles & 50–950 ramp

primary
#B1A149
secondary
#929AC3
accent
#69D156
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B1A149

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

Preview Lab → · Contrast checker → · Palette generator →

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