#B3BA31#B3BA31

#B3BA31 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.153 H 112.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B3BA31
RGBrgb(179, 186, 49)
HSLhsl(63, 58%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(3.8%, 0%, 73.7%, 27.1%)
CIE-LABlab(72.84, -18.83, 64.03)
CIE-LCHlch(72.84, 66.74, 106.39°)
OKLaboklab(75.94% -0.0584 0.1412)
OKLCHoklch(75.94% 0.153 112.5)
XYZxyz(36.7049, 44.9241, 9.6428)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA31 #3831BA
analogous
#BA7C31 #B3BA31 #6EBA31
triadic
#B3BA31 #31B3BA #BA31B3
tetradic
#B3BA31 #31BA7C #3831BA #BA316E
square
#B3BA31 #31BA7C #3831BA #BA316E
split-complementary
#B3BA31 #316EBA #7C31BA
monochromatic
#565917 #848A24 #B3BA31 #CCD256 #DBDF86

Accessibility & contrast

On white

2.10
#B3BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#B3BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA31
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA31#FFFFFF#000000##000000
##B3BA311.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C9B43C
Tritanopia (blue-blind)
#BFAFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba31;
/* rgb */ color: rgb(179, 186, 49);
/* oklch */ color: oklch(75.9% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce73',
    500: '#b3ba31',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba31;
$custom-light: #cdce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba31",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 63.066,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75942,
    "c": 0.15276,
    "h": 112.5
  },
  "luminance": 0.44923
}

Semantic roles & 50–950 ramp

primary
#B3BA31
secondary
#827EC9
accent
#46E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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