#B4A32E#B4A32E

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

Color values

HEX#B4A32E
RGBrgb(180, 163, 46)
HSLhsl(52, 59%, 44%)
HSVhsv(52, 74%, 71%)
CMYKcmyk(0%, 9.4%, 74.4%, 29.4%)
CIE-LABlab(66.59, -6.68, 59.18)
CIE-LCHlch(66.59, 59.56, 96.44°)
OKLaboklab(70.97% -0.0246 0.1303)
OKLCHoklch(70.97% 0.133 100.7)
XYZxyz(32.4143, 36.0964, 7.8442)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A32E #2E3FB4
analogous
#B4602E #B4A32E #82B42E
triadic
#B4A32E #2EB4A3 #A32EB4
tetradic
#B4A32E #2EB460 #2E3FB4 #B42E82
square
#B4A32E #2EB460 #2E3FB4 #B42E82
split-complementary
#B4A32E #2E82B4 #602EB4
monochromatic
#534B15 #837722 #B4A32E #D2C14E #DED27E

Accessibility & contrast

On white

2.56
#B4A32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A32E#FFFFFF#000000##000000
##B4A32E1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a32e;
/* rgb */ color: rgb(180, 163, 46);
/* oklch */ color: oklch(71.0% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#cebd6f',
    500: '#b4a32e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a32e;
$custom-light: #cebd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a32e",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 52.388,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70975,
    "c": 0.13261,
    "h": 100.7
  },
  "luminance": 0.36095
}

Semantic roles & 50–950 ramp

primary
#B4A32E
secondary
#7781C7
accent
#59E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A32E

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

Preview Lab → · Contrast checker → · Palette generator →

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