#B1A32B#B1A32B

#B1A32B 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#B1A32B
RGBrgb(177, 163, 43)
HSLhsl(54, 61%, 43%)
HSVhsv(54, 76%, 69%)
CMYKcmyk(0%, 7.9%, 75.7%, 30.6%)
CIE-LABlab(66.30, -8.13, 59.88)
CIE-LCHlch(66.30, 60.43, 97.74°)
OKLaboklab(70.67% -0.0289 0.1313)
OKLCHoklch(70.67% 0.134 102.4)
XYZxyz(31.6662, 35.7173, 7.5112)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A32B #2B39B1
analogous
#B1602B #B1A32B #7CB12B
triadic
#B1A32B #2BB1A3 #A32BB1
tetradic
#B1A32B #2BB160 #2B39B1 #B12B7C
square
#B1A32B #2BB160 #2B39B1 #B12B7C
split-complementary
#B1A32B #2B7CB1 #602BB1
monochromatic
#4F4813 #80761F #B1A32B #D2C447 #DED478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b1a32b;
/* rgb */ color: rgb(177, 163, 43);
/* oklch */ color: oklch(70.7% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#ccbd6e',
    500: '#b1a32b',
    950: '#000000',
  },
}
SCSS
$custom: #b1a32b;
$custom-light: #ccbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a32b",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 53.731,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70674,
    "c": 0.13446,
    "h": 102.4
  },
  "luminance": 0.35716
}

Semantic roles & 50–950 ramp

primary
#B1A32B
secondary
#727AC6
accent
#55E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A32B

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

Preview Lab → · Contrast checker → · Palette generator →

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