#B3B831#B3B831

#B3B831 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.151 H 111.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B3B831
RGBrgb(179, 184, 49)
HSLhsl(62, 58%, 46%)
HSVhsv(62, 73%, 72%)
CMYKcmyk(2.7%, 0%, 73.4%, 27.8%)
CIE-LABlab(72.29, -17.83, 63.50)
CIE-LCHlch(72.29, 65.96, 105.68°)
OKLaboklab(75.5% -0.0556 0.1401)
OKLCHoklch(75.5% 0.151 111.7)
XYZxyz(36.2865, 44.0874, 9.5034)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B831 #3631B8
analogous
#B87931 #B3B831 #6FB831
triadic
#B3B831 #31B3B8 #B831B3
tetradic
#B3B831 #31B879 #3631B8 #B8316F
square
#B3B831 #31B879 #3631B8 #B8316F
split-complementary
#B3B831 #316FB8 #7931B8
monochromatic
#555717 #848824 #B3B831 #CDD255 #DBDE85

Accessibility & contrast

On white

2.14
#B3B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B3B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B831
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B831#FFFFFF#000000##000000
##B3B8311.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B015
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#BFAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b3b831;
/* rgb */ color: rgb(179, 184, 49);
/* oklch */ color: oklch(75.5% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#cdcd73',
    500: '#b3b831',
    950: '#000000',
  },
}
SCSS
$custom: #b3b831;
$custom-light: #cdcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b831",
  "rgb": {
    "r": 179,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 62.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75498,
    "c": 0.15068,
    "h": 111.7
  },
  "luminance": 0.44086
}

Semantic roles & 50–950 ramp

primary
#B3B831
secondary
#807DC8
accent
#47E14C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B831

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

Preview Lab → · Contrast checker → · Palette generator →

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