#B3B52B#B3B52B

#B3B52B 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#B3B52B
RGBrgb(179, 181, 43)
HSLhsl(61, 62%, 44%)
HSVhsv(61, 76%, 71%)
CMYKcmyk(1.1%, 0%, 76.2%, 29%)
CIE-LABlab(71.42, -16.57, 64.67)
CIE-LCHlch(71.42, 66.76, 104.37°)
OKLaboklab(74.8% -0.0526 0.1414)
OKLCHoklch(74.8% 0.151 110.4)
XYZxyz(35.5516, 42.8069, 8.6748)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B52B #2D2BB5
analogous
#B5722B #B3B52B #6EB52B
triadic
#B3B52B #2BB3B5 #B52BB3
tetradic
#B3B52B #2BB572 #2D2BB5 #B52B6E
square
#B3B52B #2BB572 #2D2BB5 #B52B6E
split-complementary
#B3B52B #2B6EB5 #722BB5
monochromatic
#515214 #82841F #B3B52B #D2D449 #DEE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B52B#FFFFFF#000000##000000
##B3B52B1.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)
#C4AD05
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b52b;
/* rgb */ color: rgb(179, 181, 43);
/* oklch */ color: oklch(74.8% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#cdca70',
    500: '#b3b52b',
    950: '#000000',
  },
}
SCSS
$custom: #b3b52b;
$custom-light: #cdca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b52b",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 60.87,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74797,
    "c": 0.15091,
    "h": 110.4
  },
  "luminance": 0.42806
}

Semantic roles & 50–950 ramp

primary
#B3B52B
secondary
#7574C8
accent
#43E545
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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