#B3BA2B#B3BA2B

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

Color values

HEX#B3BA2B
RGBrgb(179, 186, 43)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 77%, 73%)
CMYKcmyk(3.8%, 0%, 76.9%, 27.1%)
CIE-LABlab(72.81, -19.09, 65.94)
CIE-LCHlch(72.81, 68.64, 106.14°)
OKLaboklab(75.91% -0.0596 0.1441)
OKLCHoklch(75.91% 0.156 112.5)
XYZxyz(36.5866, 44.8768, 9.0198)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA2B #322BBA
analogous
#BA792B #B3BA2B #6CBA2B
triadic
#B3BA2B #2BB3BA #BA2BB3
tetradic
#B3BA2B #2BBA79 #322BBA #BA2B6C
square
#B3BA2B #2BBA79 #322BBA #BA2B6C
split-complementary
#B3BA2B #2B6CBA #792BBA
monochromatic
#535714 #838820 #B3BA2B #CFD64C #DCE17E

Accessibility & contrast

On white

2.11
#B3BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3BA2B#FFFFFF#000000##000000
##B3BA2B1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#BFAE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba2b;
/* rgb */ color: rgb(179, 186, 43);
/* oklch */ color: oklch(75.9% 0.156 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce71',
    500: '#b3ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba2b;
$custom-light: #cdce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba2b",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 62.937,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.15598,
    "h": 112.5
  },
  "luminance": 0.44876
}

Semantic roles & 50–950 ramp

primary
#B3BA2B
secondary
#7B77CA
accent
#42E64A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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