#B3B52A#B3B52A

#B3B52A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.151 H 110.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B3B52A
RGBrgb(179, 181, 42)
HSLhsl(61, 62%, 44%)
HSVhsv(61, 77%, 71%)
CMYKcmyk(1.1%, 0%, 76.8%, 29%)
CIE-LABlab(71.42, -16.61, 64.98)
CIE-LCHlch(71.42, 67.07, 104.34°)
OKLaboklab(74.79% -0.0528 0.1419)
OKLCHoklch(74.79% 0.151 110.4)
XYZxyz(35.5335, 42.7996, 8.5794)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B52A #2C2AB5
analogous
#B5712A #B3B52A #6DB52A
triadic
#B3B52A #2AB3B5 #B52AB3
tetradic
#B3B52A #2AB571 #2C2AB5 #B52A6D
square
#B3B52A #2AB571 #2C2AB5 #B52A6D
split-complementary
#B3B52A #2A6DB5 #712AB5
monochromatic
#515213 #82831E #B3B52A #D2D448 #DFE079

Accessibility & contrast

On white

2.20
#B3B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B3B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B52A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B52A#FFFFFF#000000##000000
##B3B52A1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD01
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b52a;
/* rgb */ color: rgb(179, 181, 42);
/* oklch */ color: oklch(74.8% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#ceca70',
    500: '#b3b52a',
    950: '#000000',
  },
}
SCSS
$custom: #b3b52a;
$custom-light: #ceca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b52a",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 60.863,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74792,
    "c": 0.15143,
    "h": 110.4
  },
  "luminance": 0.42799
}

Semantic roles & 50–950 ramp

primary
#B3B52A
secondary
#7473C8
accent
#42E545
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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