#B3BA3A#B3BA3A

#B3BA3A is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.147 H 112.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B3BA3A
RGBrgb(179, 186, 58)
HSLhsl(63, 52%, 48%)
HSVhsv(63, 69%, 73%)
CMYKcmyk(3.8%, 0%, 68.8%, 27.1%)
CIE-LABlab(72.90, -18.38, 60.85)
CIE-LCHlch(72.90, 63.56, 106.81°)
OKLaboklab(76% -0.0563 0.136)
OKLCHoklch(76% 0.147 112.5)
XYZxyz(36.9141, 45.0078, 10.7450)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA3A #413ABA
analogous
#BA813A #B3BA3A #73BA3A
triadic
#B3BA3A #3AB3BA #BA3AB3
tetradic
#B3BA3A #3ABA81 #413ABA #BA3A73
square
#B3BA3A #3ABA81 #413ABA #BA3A73
split-complementary
#B3BA3A #3A73BA #813ABA
monochromatic
#595D1D #868B2B #B3BA3A #C8CE63 #D9DD92

Accessibility & contrast

On white

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

On black

10.00
#B3BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA3A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA3A#FFFFFF#000000##000000
##B3BA3A1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B126
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#BFAFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba3a;
/* rgb */ color: rgb(179, 186, 58);
/* oklch */ color: oklch(76.0% 0.147 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce78',
    500: '#b3ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba3a;
$custom-light: #cdce78;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba3a",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 63.281,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76004,
    "c": 0.14719,
    "h": 112.5
  },
  "luminance": 0.45007
}

Semantic roles & 50–950 ramp

primary
#B3BA3A
secondary
#8B88C8
accent
#4CDC54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B3BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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