#B3B82A#B3B82A

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

Color values

HEX#B3B82A
RGBrgb(179, 184, 42)
HSLhsl(62, 63%, 44%)
HSVhsv(62, 77%, 72%)
CMYKcmyk(2.7%, 0%, 77.2%, 27.8%)
CIE-LABlab(72.25, -18.12, 65.73)
CIE-LCHlch(72.25, 68.19, 105.41°)
OKLaboklab(75.46% -0.057 0.1435)
OKLCHoklch(75.46% 0.154 111.7)
XYZxyz(36.1501, 44.0328, 8.7849)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B82A #2F2AB8
analogous
#B8762A #B3B82A #6CB82A
triadic
#B3B82A #2AB3B8 #B82AB3
tetradic
#B3B82A #2AB876 #2F2AB8 #B82A6C
square
#B3B82A #2AB876 #2F2AB8 #B82A6C
split-complementary
#B3B82A #2A6CB8 #762AB8
monochromatic
#525413 #83861F #B3B82A #D1D64A #DDE17B

Accessibility & contrast

On white

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

On black

9.81
#B3B82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B82A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B82A#FFFFFF#000000##000000
##B3B82A1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#C0AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b3b82a;
/* rgb */ color: rgb(179, 184, 42);
/* oklch */ color: oklch(75.5% 0.154 111.7);
Tailwind
colors: {
  custom: {
    50: '#cecd70',
    500: '#b3b82a',
    950: '#000000',
  },
}
SCSS
$custom: #b3b82a;
$custom-light: #cecd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b82a",
  "rgb": {
    "r": 179,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 62.113,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75457,
    "c": 0.15445,
    "h": 111.7
  },
  "luminance": 0.44032
}

Semantic roles & 50–950 ramp

primary
#B3B82A
secondary
#7875C9
accent
#42E648
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B82A

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

Preview Lab → · Contrast checker → · Palette generator →

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