#B3B131#B3B131

#B3B131 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.144 H 108.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#B3B131
RGBrgb(179, 177, 49)
HSLhsl(59, 57%, 45%)
HSVhsv(59, 73%, 70%)
CMYKcmyk(0%, 1.1%, 72.6%, 29.8%)
CIE-LABlab(70.35, -14.27, 61.66)
CIE-LCHlch(70.35, 63.29, 103.03°)
OKLaboklab(73.95% -0.0457 0.1362)
OKLCHoklch(73.95% 0.144 108.5)
XYZxyz(34.8682, 41.2508, 9.0306)
Luminance0.4125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B131 #3133B3
analogous
#B37031 #B3B131 #74B331
triadic
#B3B131 #31B3B1 #B131B3
tetradic
#B3B131 #31B370 #3133B3 #B33174
square
#B3B131 #31B370 #3133B3 #B33174
split-complementary
#B3B131 #3174B3 #7031B3
monochromatic
#535217 #838124 #B3B131 #D0CE52 #DDDB82

Accessibility & contrast

On white

2.27
#B3B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#B3B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B131
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B131#FFFFFF#000000##000000
##B3B1311.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#C0A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b3b131;
/* rgb */ color: rgb(179, 177, 49);
/* oklch */ color: oklch(74.0% 0.144 108.5);
Tailwind
colors: {
  custom: {
    50: '#cdc872',
    500: '#b3b131',
    950: '#000000',
  },
}
SCSS
$custom: #b3b131;
$custom-light: #cdc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b131",
  "rgb": {
    "r": 179,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 59.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73951,
    "c": 0.14361,
    "h": 108.5
  },
  "luminance": 0.4125
}

Semantic roles & 50–950 ramp

primary
#B3B131
secondary
#7A7BC6
accent
#4AE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B131

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

Preview Lab → · Contrast checker → · Palette generator →

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