#B1A32A#B1A32A

#B1A32A is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.135 H 102.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B1A32A
RGBrgb(177, 163, 42)
HSLhsl(54, 62%, 43%)
HSVhsv(54, 76%, 69%)
CMYKcmyk(0%, 7.9%, 76.3%, 30.6%)
CIE-LABlab(66.30, -8.18, 60.22)
CIE-LCHlch(66.30, 60.77, 97.73°)
OKLaboklab(70.67% -0.0291 0.1319)
OKLCHoklch(70.67% 0.135 102.5)
XYZxyz(31.6480, 35.7101, 7.4157)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A32A #2A38B1
analogous
#B1602A #B1A32A #7BB12A
triadic
#B1A32A #2AB1A3 #A32AB1
tetradic
#B1A32A #2AB160 #2A38B1 #B12A7B
square
#B1A32A #2AB160 #2A38B1 #B12A7B
split-complementary
#B1A32A #2A7BB1 #602AB1
monochromatic
#4E4813 #80751E #B1A32A #D3C445 #DFD477

Accessibility & contrast

On white

2.58
#B1A32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B1A32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A32A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A32A#FFFFFF#000000##000000
##B1A32A1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E10
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a32a;
/* rgb */ color: rgb(177, 163, 42);
/* oklch */ color: oklch(70.7% 0.135 102.5);
Tailwind
colors: {
  custom: {
    50: '#ccbd6d',
    500: '#b1a32a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a32a;
$custom-light: #ccbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a32a",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 53.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70668,
    "c": 0.13503,
    "h": 102.5
  },
  "luminance": 0.35709
}

Semantic roles & 50–950 ramp

primary
#B1A32A
secondary
#7079C6
accent
#54E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A32A

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

Preview Lab → · Contrast checker → · Palette generator →

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