#B1A855#B1A855

#B1A855 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.106 H 103.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B1A855
RGBrgb(177, 168, 85)
HSLhsl(54, 37%, 51%)
HSVhsv(54, 52%, 69%)
CMYKcmyk(0%, 5.1%, 52%, 30.6%)
CIE-LABlab(68.03, -8.04, 43.57)
CIE-LCHlch(68.03, 44.31, 100.45°)
OKLaboklab(72.16% -0.0239 0.1028)
OKLCHoklch(72.16% 0.106 103.1)
XYZxyz(33.7748, 38.0094, 14.1500)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A855 #555EB1
analogous
#B17A55 #B1A855 #8CB155
triadic
#B1A855 #55B1A8 #A855B1
tetradic
#B1A855 #55B17A #555EB1 #B1558C
square
#B1A855 #55B17A #555EB1 #B1558C
split-complementary
#B1A855 #558CB1 #7A55B1
monochromatic
#605B2C #8A823F #B1A855 #C4BD7F #D7D3A9

Accessibility & contrast

On white

2.44
#B1A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B1A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A855
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A855#FFFFFF#000000##000000
##B1A8551.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34D
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#BC9E95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a855;
/* rgb */ color: rgb(177, 168, 85);
/* oklch */ color: oklch(72.2% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#cac187',
    500: '#b1a855',
    950: '#000000',
  },
}
SCSS
$custom: #b1a855;
$custom-light: #cac187;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a855",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 54.13,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7216,
    "c": 0.10558,
    "h": 103.1
  },
  "luminance": 0.38008
}

Semantic roles & 50–950 ramp

primary
#B1A855
secondary
#9DA1C5
accent
#66CD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #B1A855

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

Preview Lab → · Contrast checker → · Palette generator →

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