#B1A875#B1A875

#B1A875 is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.069 H 99.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B1A875
RGBrgb(177, 168, 117)
HSLhsl(51, 28%, 58%)
HSVhsv(51, 34%, 69%)
CMYKcmyk(0%, 5.1%, 33.9%, 30.6%)
CIE-LABlab(68.49, -4.61, 27.56)
CIE-LCHlch(68.49, 27.95, 99.50°)
OKLaboklab(72.67% -0.0113 0.0685)
OKLCHoklch(72.67% 0.069 99.4)
XYZxyz(35.3454, 38.6376, 22.4221)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A875 #757EB1
analogous
#B18A75 #B1A875 #9CB175
triadic
#B1A875 #75B1A8 #A875B1
tetradic
#B1A875 #75B18A #757EB1 #B1759C
square
#B1A875 #75B18A #757EB1 #B1759C
split-complementary
#B1A875 #759CB1 #8A75B1
monochromatic
#6E663E #958B54 #B1A875 #C7C19C #DDD9C3

Accessibility & contrast

On white

2.41
#B1A875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B1A875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A875
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A875#FFFFFF#000000##000000
##B1A8751.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A571
Deuteranopia (green-blind)
#B4A977
Tritanopia (blue-blind)
#BAA19B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1a875;
/* rgb */ color: rgb(177, 168, 117);
/* oklch */ color: oklch(72.7% 0.069 99.4);
Tailwind
colors: {
  custom: {
    50: '#c9c19d',
    500: '#b1a875',
    950: '#000000',
  },
}
SCSS
$custom: #b1a875;
$custom-light: #c9c19d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a875",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 117
  },
  "hsl": {
    "h": 51,
    "s": 27.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.72674,
    "c": 0.06947,
    "h": 99.4
  },
  "luminance": 0.38637
}

Semantic roles & 50–950 ramp

primary
#B1A875
secondary
#B5B8CD
accent
#72C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B1A875

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

Preview Lab → · Contrast checker → · Palette generator →

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