#B4A32F#B4A32F

#B4A32F is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.132 H 100.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B4A32F
RGBrgb(180, 163, 47)
HSLhsl(52, 59%, 45%)
HSVhsv(52, 74%, 71%)
CMYKcmyk(0%, 9.4%, 73.9%, 29.4%)
CIE-LABlab(66.60, -6.63, 58.82)
CIE-LCHlch(66.60, 59.20, 96.43°)
OKLaboklab(70.98% -0.0244 0.1297)
OKLCHoklch(70.98% 0.132 100.7)
XYZxyz(32.4342, 36.1044, 7.9492)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A32F #2F40B4
analogous
#B4612F #B4A32F #83B42F
triadic
#B4A32F #2FB4A3 #A32FB4
tetradic
#B4A32F #2FB461 #2F40B4 #B42F83
square
#B4A32F #2FB461 #2F40B4 #B42F83
split-complementary
#B4A32F #2F83B4 #612FB4
monochromatic
#534B16 #837722 #B4A32F #D1C04F #DED280

Accessibility & contrast

On white

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

On black

8.22
#B4A32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A32F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A32F#FFFFFF#000000##000000
##B4A32F1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#C2978C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a32f;
/* rgb */ color: rgb(180, 163, 47);
/* oklch */ color: oklch(71.0% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#cebd70',
    500: '#b4a32f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a32f;
$custom-light: #cebd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a32f",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 52.331,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70981,
    "c": 0.13201,
    "h": 100.7
  },
  "luminance": 0.36103
}

Semantic roles & 50–950 ramp

primary
#B4A32F
secondary
#7882C7
accent
#5AE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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