#B3B72A#B3B72A

#B3B72A is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.153 H 111.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B3B72A
RGBrgb(179, 183, 42)
HSLhsl(62, 63%, 44%)
HSVhsv(62, 77%, 72%)
CMYKcmyk(2.2%, 0%, 77%, 28.2%)
CIE-LABlab(71.97, -17.62, 65.48)
CIE-LCHlch(71.97, 67.81, 105.06°)
OKLaboklab(75.24% -0.0556 0.143)
OKLCHoklch(75.24% 0.153 111.3)
XYZxyz(35.9431, 43.6188, 8.7159)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B72A #2E2AB7
analogous
#B7752A #B3B72A #6DB72A
triadic
#B3B72A #2AB3B7 #B72AB3
tetradic
#B3B72A #2AB775 #2E2AB7 #B72A6D
square
#B3B72A #2AB775 #2E2AB7 #B72A6D
split-complementary
#B3B72A #2A6DB7 #752AB7
monochromatic
#525313 #82851F #B3B72A #D1D549 #DEE17B

Accessibility & contrast

On white

2.16
#B3B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B3B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B72A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B72A#FFFFFF#000000##000000
##B3B72A1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B236
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b3b72a;
/* rgb */ color: rgb(179, 183, 42);
/* oklch */ color: oklch(75.2% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#cecc70',
    500: '#b3b72a',
    950: '#000000',
  },
}
SCSS
$custom: #b3b72a;
$custom-light: #cecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b72a",
  "rgb": {
    "r": 179,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 61.702,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75235,
    "c": 0.15343,
    "h": 111.3
  },
  "luminance": 0.43618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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