#B3B31A#B3B31A

#B3B31A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.156 H 109.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B3B31A
RGBrgb(179, 179, 26)
HSLhsl(60, 75%, 40%)
HSVhsv(60, 85%, 70%)
CMYKcmyk(0%, 0%, 85.5%, 29.8%)
CIE-LABlab(70.80, -16.11, 68.68)
CIE-LCHlch(70.80, 70.55, 103.20°)
OKLaboklab(74.28% -0.0526 0.1471)
OKLCHoklch(74.28% 0.156 109.7)
XYZxyz(34.8984, 41.8996, 7.2262)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B31A #1A1AB3
analogous
#B3661A #B3B31A #66B31A
triadic
#B3B31A #1AB3B3 #B31AB3
tetradic
#B3B31A #1AB366 #1A1AB3 #B31A66
square
#B3B31A #1AB366 #1A1AB3 #B31A66
split-complementary
#B3B31A #1A66B3 #661AB3
monochromatic
#48480A #7E7E12 #B3B31A #E0E02A #E8E860

Accessibility & contrast

On white

2.24
#B3B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B3B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B31A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B31A#FFFFFF#000000##000000
##B3B31A1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C4AF2B
Tritanopia (blue-blind)
#C0A799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b31a;
/* rgb */ color: rgb(179, 179, 26);
/* oklch */ color: oklch(74.3% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#cec969',
    500: '#b3b31a',
    950: '#000000',
  },
}
SCSS
$custom: #b3b31a;
$custom-light: #cec969;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b31a",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.74278,
    "c": 0.15619,
    "h": 109.7
  },
  "luminance": 0.41898
}

Semantic roles & 50–950 ramp

primary
#B3B31A
secondary
#5D5DCC
accent
#37F137
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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