#B4BA41#B4BA41

#B4BA41 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.142 H 112.0°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B4BA41
RGBrgb(180, 186, 65)
HSLhsl(63, 48%, 49%)
HSVhsv(63, 65%, 73%)
CMYKcmyk(3.2%, 0%, 65.1%, 27.1%)
CIE-LABlab(73.03, -17.55, 58.25)
CIE-LCHlch(73.03, 60.84, 106.76°)
OKLaboklab(76.14% -0.0533 0.1316)
OKLCHoklch(76.14% 0.142 112)
XYZxyz(37.3365, 45.2036, 11.7584)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA41 #4741BA
analogous
#BA8441 #B4BA41 #78BA41
triadic
#B4BA41 #41B4BA #BA41B4
tetradic
#B4BA41 #41BA84 #4741BA #BA4178
square
#B4BA41 #41BA84 #4741BA #BA4178
split-complementary
#B4BA41 #4178BA #8441BA
monochromatic
#5C5F21 #888D31 #B4BA41 #C7CC6C #D8DC9A

Accessibility & contrast

On white

2.09
#B4BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B4BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA41
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA41#FFFFFF#000000##000000
##B4BA411.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba41;
/* rgb */ color: rgb(180, 186, 65);
/* oklch */ color: oklch(76.1% 0.142 112.0);
Tailwind
colors: {
  custom: {
    50: '#cdce7c',
    500: '#b4ba41',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba41;
$custom-light: #cdce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba41",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 62.975,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76142,
    "c": 0.14201,
    "h": 112
  },
  "luminance": 0.45203
}

Semantic roles & 50–950 ramp

primary
#B4BA41
secondary
#928FC8
accent
#50D857
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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