#B1A545#B1A545

#B1A545 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.118 H 102.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B1A545
RGBrgb(177, 165, 69)
HSLhsl(53, 44%, 48%)
HSVhsv(53, 61%, 69%)
CMYKcmyk(0%, 6.8%, 61%, 30.6%)
CIE-LABlab(67.04, -7.72, 50.06)
CIE-LCHlch(67.04, 50.65, 98.77°)
OKLaboklab(71.32% -0.0249 0.1149)
OKLCHoklch(71.32% 0.118 102.2)
XYZxyz(32.6620, 36.6883, 10.9901)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A545 #4551B1
analogous
#B16F45 #B1A545 #87B145
triadic
#B1A545 #45B1A5 #A545B1
tetradic
#B1A545 #45B16F #4551B1 #B14587
square
#B1A545 #45B16F #4551B1 #B14587
split-complementary
#B1A545 #4587B1 #6F45B1
monochromatic
#595323 #857C34 #B1A545 #C6BC6D #D7D099

Accessibility & contrast

On white

2.52
#B1A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B1A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A545
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A545#FFFFFF#000000##000000
##B1A5451.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03A
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#BE9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a545;
/* rgb */ color: rgb(177, 165, 69);
/* oklch */ color: oklch(71.3% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#cbbf7d',
    500: '#b1a545',
    950: '#000000',
  },
}
SCSS
$custom: #b1a545;
$custom-light: #cbbf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a545",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 53.333,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71323,
    "c": 0.11759,
    "h": 102.2
  },
  "luminance": 0.36687
}

Semantic roles & 50–950 ramp

primary
#B1A545
secondary
#8E94C3
accent
#62D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B1A545

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

Preview Lab → · Contrast checker → · Palette generator →

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