#B5A32F#B5A32F

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

Color values

HEX#B5A32F
RGBrgb(181, 163, 47)
HSLhsl(52, 59%, 45%)
HSVhsv(52, 74%, 71%)
CMYKcmyk(0%, 9.9%, 74%, 29%)
CIE-LABlab(66.69, -6.19, 58.94)
CIE-LCHlch(66.69, 59.27, 95.99°)
OKLaboklab(71.08% -0.0232 0.13)
OKLCHoklch(71.08% 0.132 100.1)
XYZxyz(32.6679, 36.2249, 7.9602)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A32F #2F41B5
analogous
#B5602F #B5A32F #84B52F
triadic
#B5A32F #2FB5A3 #A32FB5
tetradic
#B5A32F #2FB560 #2F41B5 #B52F84
square
#B5A32F #2FB560 #2F41B5 #B52F84
split-complementary
#B5A32F #2F84B5 #602FB5
monochromatic
#544B16 #847722 #B5A32F #D1C050 #DED180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A32F#FFFFFF#000000##000000
##B5A32F1.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)
#B39E1A
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#C3978C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a32f;
/* rgb */ color: rgb(181, 163, 47);
/* oklch */ color: oklch(71.1% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#cfbd70',
    500: '#b5a32f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a32f;
$custom-light: #cfbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a32f",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 51.94,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71076,
    "c": 0.13201,
    "h": 100.1
  },
  "luminance": 0.36223
}

Semantic roles & 50–950 ramp

primary
#B5A32F
secondary
#7983C7
accent
#5BE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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