#B4B32F#B4B32F

#B4B32F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.5% C 0.147 H 109.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B4B32F
RGBrgb(180, 179, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 71%)
CMYKcmyk(0%, 0.6%, 73.9%, 29.4%)
CIE-LABlab(70.97, -14.95, 62.97)
CIE-LCHlch(70.97, 64.72, 103.36°)
OKLaboklab(74.47% -0.0478 0.1385)
OKLCHoklch(74.47% 0.147 109)
XYZxyz(35.4569, 42.1498, 8.9568)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B32F #2F30B4
analogous
#B4712F #B4B32F #73B42F
triadic
#B4B32F #2FB4B3 #B32FB4
tetradic
#B4B32F #2FB471 #2F30B4 #B42F73
square
#B4B32F #2FB471 #2F30B4 #B42F73
split-complementary
#B4B32F #2F73B4 #712FB4
monochromatic
#535216 #838322 #B4B32F #D1D04F #DEDD80

Accessibility & contrast

On white

2.23
#B4B32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B4B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B32F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B32F#FFFFFF#000000##000000
##B4B32F1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB13
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b32f;
/* rgb */ color: rgb(180, 179, 47);
/* oklch */ color: oklch(74.5% 0.147 109.0);
Tailwind
colors: {
  custom: {
    50: '#cec972',
    500: '#b4b32f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b32f;
$custom-light: #cec972;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b32f",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 59.549,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74465,
    "c": 0.14655,
    "h": 109
  },
  "luminance": 0.42149
}

Semantic roles & 50–950 ramp

primary
#B4B32F
secondary
#7879C7
accent
#47E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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