#B1A154#B1A154

#B1A154 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.100 H 97.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B1A154
RGBrgb(177, 161, 84)
HSLhsl(50, 37%, 51%)
HSVhsv(50, 53%, 69%)
CMYKcmyk(0%, 9%, 52.5%, 30.6%)
CIE-LABlab(66.12, -4.41, 41.80)
CIE-LCHlch(66.12, 42.03, 96.02°)
OKLaboklab(70.64% -0.0136 0.0989)
OKLCHoklch(70.64% 0.1 97.8)
XYZxyz(32.4776, 35.4782, 13.5230)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A154 #5464B1
analogous
#B17254 #B1A154 #92B154
triadic
#B1A154 #54B1A1 #A154B1
tetradic
#B1A154 #54B172 #5464B1 #B15492
square
#B1A154 #54B172 #5464B1 #B15492
split-complementary
#B1A154 #5492B1 #7254B1
monochromatic
#5F562B #897C3F #B1A154 #C4B87E #D7CFA8

Accessibility & contrast

On white

2.59
#B1A154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B1A154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A154
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A154#FFFFFF#000000##000000
##B1A1541.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4D
Deuteranopia (green-blind)
#B3A357
Tritanopia (blue-blind)
#BD978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a154;
/* rgb */ color: rgb(177, 161, 84);
/* oklch */ color: oklch(70.6% 0.100 97.8);
Tailwind
colors: {
  custom: {
    50: '#cabc86',
    500: '#b1a154',
    950: '#000000',
  },
}
SCSS
$custom: #b1a154;
$custom-light: #cabc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a154",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 49.677,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70643,
    "c": 0.09979,
    "h": 97.8
  },
  "luminance": 0.35477
}

Semantic roles & 50–950 ramp

primary
#B1A154
secondary
#9CA3C5
accent
#6ECD5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #B1A154

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

Preview Lab → · Contrast checker → · Palette generator →

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