#B3BA2C#B3BA2C

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

Color values

HEX#B3BA2C
RGBrgb(179, 186, 44)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.8%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.82, -19.05, 65.63)
CIE-LCHlch(72.82, 68.34, 106.18°)
OKLaboklab(75.91% -0.0594 0.1437)
OKLCHoklch(75.91% 0.155 112.5)
XYZxyz(36.6051, 44.8842, 9.1176)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA2C #332CBA
analogous
#BA7A2C #B3BA2C #6CBA2C
triadic
#B3BA2C #2CB3BA #BA2CB3
tetradic
#B3BA2C #2CBA7A #332CBA #BA2C6C
square
#B3BA2C #2CBA7A #332CBA #BA2C6C
split-complementary
#B3BA2C #2C6CBA #7A2CBA
monochromatic
#545715 #838920 #B3BA2C #CED54E #DCE180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3BA2C#FFFFFF#000000##000000
##B3BA2C1.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)
#C8B104
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#BFAEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba2c;
/* rgb */ color: rgb(179, 186, 44);
/* oklch */ color: oklch(75.9% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce71',
    500: '#b3ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba2c;
$custom-light: #cdce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba2c",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 62.958,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75912,
    "c": 0.15548,
    "h": 112.5
  },
  "luminance": 0.44883
}

Semantic roles & 50–950 ramp

primary
#B3BA2C
secondary
#7C78CA
accent
#43E54B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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