#B3B531#B3B531

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

Color values

HEX#B3B531
RGBrgb(179, 181, 49)
HSLhsl(61, 57%, 45%)
HSVhsv(61, 73%, 71%)
CMYKcmyk(1.1%, 0%, 72.9%, 29%)
CIE-LABlab(71.46, -16.31, 62.71)
CIE-LCHlch(71.46, 64.80, 104.58°)
OKLaboklab(74.83% -0.0514 0.1384)
OKLCHoklch(74.83% 0.148 110.4)
XYZxyz(35.6699, 42.8542, 9.2978)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B531 #3331B5
analogous
#B57531 #B3B531 #71B531
triadic
#B3B531 #31B3B5 #B531B3
tetradic
#B3B531 #31B575 #3331B5 #B53171
square
#B3B531 #31B575 #3331B5 #B53171
split-complementary
#B3B531 #3171B5 #7531B5
monochromatic
#545517 #838524 #B3B531 #CED053 #DCDD83

Accessibility & contrast

On white

2.19
#B3B531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B3B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B531
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B531#FFFFFF#000000##000000
##B3B5311.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD17
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#C0A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b531;
/* rgb */ color: rgb(179, 181, 49);
/* oklch */ color: oklch(74.8% 0.148 110.4);
Tailwind
colors: {
  custom: {
    50: '#cdca73',
    500: '#b3b531',
    950: '#000000',
  },
}
SCSS
$custom: #b3b531;
$custom-light: #cdca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b531",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 60.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.14761,
    "h": 110.4
  },
  "luminance": 0.42853
}

Semantic roles & 50–950 ramp

primary
#B3B531
secondary
#7C7BC7
accent
#47E149
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B531

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

Preview Lab → · Contrast checker → · Palette generator →

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