#B4B82A#B4B82A

#B4B82A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.154 H 111.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B4B82A
RGBrgb(180, 184, 42)
HSLhsl(62, 63%, 44%)
HSVhsv(62, 77%, 72%)
CMYKcmyk(2.2%, 0%, 77.2%, 27.8%)
CIE-LABlab(72.33, -17.69, 65.84)
CIE-LCHlch(72.33, 68.17, 105.04°)
OKLaboklab(75.54% -0.0559 0.1437)
OKLCHoklch(75.54% 0.154 111.3)
XYZxyz(36.3821, 44.1524, 8.7958)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B82A #2E2AB8
analogous
#B8752A #B4B82A #6DB82A
triadic
#B4B82A #2AB4B8 #B82AB4
tetradic
#B4B82A #2AB875 #2E2AB8 #B82A6D
square
#B4B82A #2AB875 #2E2AB8 #B82A6D
split-complementary
#B4B82A #2A6DB8 #752AB8
monochromatic
#535413 #83861F #B4B82A #D2D64A #DEE17B

Accessibility & contrast

On white

2.14
#B4B82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B4B82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B82A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B82A#FFFFFF#000000##000000
##B4B82A1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b82a;
/* rgb */ color: rgb(180, 184, 42);
/* oklch */ color: oklch(75.5% 0.154 111.3);
Tailwind
colors: {
  custom: {
    50: '#cecd70',
    500: '#b4b82a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b82a;
$custom-light: #cecd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b82a",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 61.69,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7554,
    "c": 0.1542,
    "h": 111.3
  },
  "luminance": 0.44151
}

Semantic roles & 50–950 ramp

primary
#B4B82A
secondary
#7775C9
accent
#42E647
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B82A

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

Preview Lab → · Contrast checker → · Palette generator →

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