#B1A641#B1A641

#B1A641 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.122 H 103.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B1A641
RGBrgb(177, 166, 65)
HSLhsl(54, 46%, 47%)
HSVhsv(54, 63%, 69%)
CMYKcmyk(0%, 6.2%, 63.3%, 30.6%)
CIE-LABlab(67.28, -8.52, 52.11)
CIE-LCHlch(67.28, 52.80, 99.29°)
OKLaboklab(71.5% -0.0276 0.1187)
OKLCHoklch(71.5% 0.122 103.1)
XYZxyz(32.7231, 37.0025, 10.4185)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A641 #414CB1
analogous
#B16E41 #B1A641 #84B141
triadic
#B1A641 #41B1A6 #A641B1
tetradic
#B1A641 #41B16E #414CB1 #B14184
square
#B1A641 #41B16E #414CB1 #B14184
split-complementary
#B1A641 #4184B1 #6E41B1
monochromatic
#575220 #847C31 #B1A641 #C7BE68 #D8D195

Accessibility & contrast

On white

2.50
#B1A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B1A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A641
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A641#FFFFFF#000000##000000
##B1A6411.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A135
Deuteranopia (green-blind)
#B8A647
Tritanopia (blue-blind)
#BE9B91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a641;
/* rgb */ color: rgb(177, 166, 65);
/* oklch */ color: oklch(71.5% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#cbc07a',
    500: '#b1a641',
    950: '#000000',
  },
}
SCSS
$custom: #b1a641;
$custom-light: #cbc07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a641",
  "rgb": {
    "r": 177,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 54.107,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.12188,
    "h": 103.1
  },
  "luminance": 0.37001
}

Semantic roles & 50–950 ramp

primary
#B1A641
secondary
#8A90C3
accent
#5FD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A641

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

Preview Lab → · Contrast checker → · Palette generator →

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