#B3B31B#B3B31B

#B3B31B 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#B3B31B
RGBrgb(179, 179, 27)
HSLhsl(60, 74%, 40%)
HSVhsv(60, 85%, 70%)
CMYKcmyk(0%, 0%, 84.9%, 29.8%)
CIE-LABlab(70.80, -16.08, 68.47)
CIE-LCHlch(70.80, 70.33, 103.22°)
OKLaboklab(74.28% -0.0524 0.1468)
OKLCHoklch(74.28% 0.156 109.7)
XYZxyz(34.9097, 41.9041, 7.2861)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B31B #1B1BB3
analogous
#B3671B #B3B31B #67B31B
triadic
#B3B31B #1BB3B3 #B31BB3
tetradic
#B3B31B #1BB367 #1B1BB3 #B31B67
square
#B3B31B #1BB367 #1B1BB3 #B31B67
split-complementary
#B3B31B #1B67B3 #671BB3
monochromatic
#49490B #7E7E13 #B3B31B #DFDF2C #E7E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B31B#FFFFFF#000000##000000
##B3B31B1.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: #b3b31b;
/* rgb */ color: rgb(179, 179, 27);
/* oklch */ color: oklch(74.3% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#cec969',
    500: '#b3b31b',
    950: '#000000',
  },
}
SCSS
$custom: #b3b31b;
$custom-light: #cec969;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b31b",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.74282,
    "c": 0.15586,
    "h": 109.7
  },
  "luminance": 0.41903
}

Semantic roles & 50–950 ramp

primary
#B3B31B
secondary
#5E5ECC
accent
#37F037
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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