#B4BA29#B4BA29

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

Color values

HEX#B4BA29
RGBrgb(180, 186, 41)
HSLhsl(62, 64%, 45%)
HSVhsv(62, 78%, 73%)
CMYKcmyk(3.2%, 0%, 78%, 27.1%)
CIE-LABlab(72.88, -18.74, 66.63)
CIE-LCHlch(72.88, 69.22, 105.71°)
OKLaboklab(75.98% -0.0589 0.1452)
OKLCHoklch(75.98% 0.157 112.1)
XYZxyz(36.7828, 44.9821, 8.8422)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA29 #2F29BA
analogous
#BA7829 #B4BA29 #6BBA29
triadic
#B4BA29 #29B4BA #BA29B4
tetradic
#B4BA29 #29BA78 #2F29BA #BA296B
square
#B4BA29 #29BA78 #2F29BA #BA296B
split-complementary
#B4BA29 #296BBA #7829BA
monochromatic
#535613 #83881E #B4BA29 #D1D749 #DEE27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BA29#FFFFFF#000000##000000
##B4BA291.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)
#C9B100
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#C1AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba29;
/* rgb */ color: rgb(180, 186, 41);
/* oklch */ color: oklch(76.0% 0.157 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece70',
    500: '#b4ba29',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba29;
$custom-light: #cece70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba29",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 62.483,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75979,
    "c": 0.1567,
    "h": 112.1
  },
  "luminance": 0.44981
}

Semantic roles & 50–950 ramp

primary
#B4BA29
secondary
#7875CA
accent
#41E748
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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