#B1A331#B1A331

#B1A331 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.131 H 102.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B1A331
RGBrgb(177, 163, 49)
HSLhsl(53, 57%, 44%)
HSVhsv(53, 72%, 69%)
CMYKcmyk(0%, 7.9%, 72.3%, 30.6%)
CIE-LABlab(66.34, -7.86, 57.73)
CIE-LCHlch(66.34, 58.26, 97.75°)
OKLaboklab(70.71% -0.0275 0.1279)
OKLCHoklch(70.71% 0.131 102.1)
XYZxyz(31.7844, 35.7646, 8.1342)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A331 #313FB1
analogous
#B16331 #B1A331 #7FB131
triadic
#B1A331 #31B1A3 #A331B1
tetradic
#B1A331 #31B163 #313FB1 #B1317F
square
#B1A331 #31B163 #313FB1 #B1317F
split-complementary
#B1A331 #317FB1 #6331B1
monochromatic
#514B16 #817724 #B1A331 #CFC151 #DCD280

Accessibility & contrast

On white

2.58
#B1A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B1A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A331
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A331#FFFFFF#000000##000000
##B1A3311.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#BF978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a331;
/* rgb */ color: rgb(177, 163, 49);
/* oklch */ color: oklch(70.7% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbd71',
    500: '#b1a331',
    950: '#000000',
  },
}
SCSS
$custom: #b1a331;
$custom-light: #ccbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a331",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 53.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70714,
    "c": 0.13084,
    "h": 102.1
  },
  "luminance": 0.35763
}

Semantic roles & 50–950 ramp

primary
#B1A331
secondary
#7981C5
accent
#59E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A331

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

Preview Lab → · Contrast checker → · Palette generator →

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