#B1A32C#B1A32C

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

Color values

HEX#B1A32C
RGBrgb(177, 163, 44)
HSLhsl(54, 60%, 43%)
HSVhsv(54, 75%, 69%)
CMYKcmyk(0%, 7.9%, 75.1%, 30.6%)
CIE-LABlab(66.31, -8.09, 59.53)
CIE-LCHlch(66.31, 60.08, 97.74°)
OKLaboklab(70.68% -0.0287 0.1308)
OKLCHoklch(70.68% 0.134 102.4)
XYZxyz(31.6847, 35.7247, 7.6090)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A32C #2C3AB1
analogous
#B1602C #B1A32C #7CB12C
triadic
#B1A32C #2CB1A3 #A32CB1
tetradic
#B1A32C #2CB160 #2C3AB1 #B12C7C
square
#B1A32C #2CB160 #2C3AB1 #B12C7C
split-complementary
#B1A32C #2C7CB1 #602CB1
monochromatic
#4F4914 #807620 #B1A32C #D2C349 #DED37A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A32C#FFFFFF#000000##000000
##B1A32C1.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)
#B29E14
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a32c;
/* rgb */ color: rgb(177, 163, 44);
/* oklch */ color: oklch(70.7% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#ccbd6e',
    500: '#b1a32c',
    950: '#000000',
  },
}
SCSS
$custom: #b1a32c;
$custom-light: #ccbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a32c",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 53.684,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7068,
    "c": 0.13389,
    "h": 102.4
  },
  "luminance": 0.35723
}

Semantic roles & 50–950 ramp

primary
#B1A32C
secondary
#737CC6
accent
#55E344
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A32C

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

Preview Lab → · Contrast checker → · Palette generator →

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