#B5A32C#B5A32C

#B5A32C is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.134 H 100.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B5A32C
RGBrgb(181, 163, 44)
HSLhsl(52, 61%, 44%)
HSVhsv(52, 76%, 71%)
CMYKcmyk(0%, 9.9%, 75.7%, 29%)
CIE-LABlab(66.67, -6.32, 60.01)
CIE-LCHlch(66.67, 60.34, 96.01°)
OKLaboklab(71.06% -0.0239 0.1316)
OKLCHoklch(71.06% 0.134 100.3)
XYZxyz(32.6094, 36.2015, 7.6523)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A32C #2C3EB5
analogous
#B55F2C #B5A32C #83B52C
triadic
#B5A32C #2CB5A3 #A32CB5
tetradic
#B5A32C #2CB55F #2C3EB5 #B52C83
square
#B5A32C #2CB55F #2C3EB5 #B52C83
split-complementary
#B5A32C #2C83B5 #5F2CB5
monochromatic
#534A14 #847720 #B5A32C #D3C14B #DFD27C

Accessibility & contrast

On white

2.55
#B5A32C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B5A32C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A32C
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A32C#FFFFFF#000000##000000
##B5A32C1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E14
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C3978C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a32c;
/* rgb */ color: rgb(181, 163, 44);
/* oklch */ color: oklch(71.1% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#cfbd6e',
    500: '#b5a32c',
    950: '#000000',
  },
}
SCSS
$custom: #b5a32c;
$custom-light: #cfbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a32c",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 52.117,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.13377,
    "h": 100.3
  },
  "luminance": 0.362
}

Semantic roles & 50–950 ramp

primary
#B5A32C
secondary
#7580C8
accent
#59E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A32C

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

Preview Lab → · Contrast checker → · Palette generator →

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