#B1A35F#B1A35F

#B1A35F is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.090 H 98.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B1A35F
RGBrgb(177, 163, 95)
HSLhsl(50, 34%, 53%)
HSVhsv(50, 46%, 69%)
CMYKcmyk(0%, 7.9%, 46.3%, 30.6%)
CIE-LABlab(66.80, -4.43, 37.02)
CIE-LCHlch(66.80, 37.29, 96.83°)
OKLaboklab(71.23% -0.0125 0.0892)
OKLCHoklch(71.23% 0.09 98)
XYZxyz(33.2951, 36.3689, 16.0903)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A35F #5F6DB1
analogous
#B17A5F #B1A35F #96B15F
triadic
#B1A35F #5FB1A3 #A35FB1
tetradic
#B1A35F #5FB17A #5F6DB1 #B15F96
square
#B1A35F #5FB17A #5F6DB1 #B15F96
split-complementary
#B1A35F #5F96B1 #7A5FB1
monochromatic
#655C31 #8E8145 #B1A35F #C5BB88 #D9D2B1

Accessibility & contrast

On white

2.54
#B1A35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B1A35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A35F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A35F#FFFFFF#000000##000000
##B1A35F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA059
Deuteranopia (green-blind)
#B3A562
Tritanopia (blue-blind)
#BC9A93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a35f;
/* rgb */ color: rgb(177, 163, 95);
/* oklch */ color: oklch(71.2% 0.090 98.0);
Tailwind
colors: {
  custom: {
    50: '#cabe8e',
    500: '#b1a35f',
    950: '#000000',
  },
}
SCSS
$custom: #b1a35f;
$custom-light: #cabe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a35f",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 95
  },
  "hsl": {
    "h": 49.756,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71229,
    "c": 0.09005,
    "h": 98
  },
  "luminance": 0.36368
}

Semantic roles & 50–950 ramp

primary
#B1A35F
secondary
#A4AAC8
accent
#70CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A35F

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

Preview Lab → · Contrast checker → · Palette generator →

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