#B3B52C#B3B52C

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

Color values

HEX#B3B52C
RGBrgb(179, 181, 44)
HSLhsl(61, 61%, 44%)
HSVhsv(61, 76%, 71%)
CMYKcmyk(1.1%, 0%, 75.7%, 29%)
CIE-LABlab(71.43, -16.53, 64.36)
CIE-LCHlch(71.43, 66.45, 104.40°)
OKLaboklab(74.8% -0.0524 0.141)
OKLCHoklch(74.8% 0.15 110.4)
XYZxyz(35.5702, 42.8143, 8.7727)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B52C #2E2CB5
analogous
#B5732C #B3B52C #6FB52C
triadic
#B3B52C #2CB3B5 #B52CB3
tetradic
#B3B52C #2CB573 #2E2CB5 #B52C6F
square
#B3B52C #2CB573 #2E2CB5 #B52C6F
split-complementary
#B3B52C #2C6FB5 #732CB5
monochromatic
#525314 #828420 #B3B52C #D1D34B #DEDF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B52C#FFFFFF#000000##000000
##B3B52C1.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)
#C4AD08
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b52c;
/* rgb */ color: rgb(179, 181, 44);
/* oklch */ color: oklch(74.8% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#cdca70',
    500: '#b3b52c',
    950: '#000000',
  },
}
SCSS
$custom: #b3b52c;
$custom-light: #cdca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b52c",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 60.876,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74803,
    "c": 0.15039,
    "h": 110.4
  },
  "luminance": 0.42813
}

Semantic roles & 50–950 ramp

primary
#B3B52C
secondary
#7675C8
accent
#44E446
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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