#B4B33A#B4B33A

#B4B33A is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.140 H 108.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B4B33A
RGBrgb(180, 179, 58)
HSLhsl(60, 51%, 47%)
HSVhsv(60, 68%, 71%)
CMYKcmyk(0%, 0.6%, 67.8%, 29.4%)
CIE-LABlab(71.04, -14.40, 59.02)
CIE-LCHlch(71.04, 60.75, 103.72°)
OKLaboklab(74.54% -0.0452 0.1321)
OKLCHoklch(74.54% 0.14 108.9)
XYZxyz(35.7074, 42.2501, 10.2763)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B33A #3A3BB4
analogous
#B4763A #B4B33A #78B43A
triadic
#B4B33A #3AB4B3 #B33AB4
tetradic
#B4B33A #3AB476 #3A3BB4 #B43A78
square
#B4B33A #3AB476 #3A3BB4 #B43A78
split-complementary
#B4B33A #3A78B4 #763AB4
monochromatic
#57571C #86852B #B4B33A #CCCB60 #DBDA8E

Accessibility & contrast

On white

2.22
#B4B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B4B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B33A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B33A#FFFFFF#000000##000000
##B4B33A1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC28
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#C1A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b33a;
/* rgb */ color: rgb(180, 179, 58);
/* oklch */ color: oklch(74.5% 0.140 108.9);
Tailwind
colors: {
  custom: {
    50: '#cec977',
    500: '#b4b33a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b33a;
$custom-light: #cec977;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b33a",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 59.508,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74541,
    "c": 0.13963,
    "h": 108.9
  },
  "luminance": 0.42249
}

Semantic roles & 50–950 ramp

primary
#B4B33A
secondary
#8585C5
accent
#4EDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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