#B9BA41#B9BA41

#B9BA41 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.6% C 0.141 H 109.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#B9BA41
RGBrgb(185, 186, 65)
HSLhsl(60, 48%, 49%)
HSVhsv(60, 65%, 73%)
CMYKcmyk(0.5%, 0%, 65.1%, 27.1%)
CIE-LABlab(73.43, -15.43, 58.79)
CIE-LCHlch(73.43, 60.78, 104.71°)
OKLaboklab(76.56% -0.0477 0.1326)
OKLCHoklch(76.56% 0.141 109.8)
XYZxyz(38.5219, 45.8148, 11.8139)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA41 #4241BA
analogous
#BA7F41 #B9BA41 #7DBA41
triadic
#B9BA41 #41B9BA #BA41B9
tetradic
#B9BA41 #41BA7F #4241BA #BA417D
square
#B9BA41 #41BA7F #4241BA #BA417D
split-complementary
#B9BA41 #417DBA #7F41BA
monochromatic
#5F5F21 #8C8D31 #B9BA41 #CBCC6C #DBDC9A

Accessibility & contrast

On white

2.07
#B9BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#B9BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA41
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA41#FFFFFF#000000##000000
##B9BA411.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B230
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#C6AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba41;
/* rgb */ color: rgb(185, 186, 65);
/* oklch */ color: oklch(76.6% 0.141 109.8);
Tailwind
colors: {
  custom: {
    50: '#d1ce7c',
    500: '#b9ba41',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba41;
$custom-light: #d1ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba41",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 60.496,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76559,
    "c": 0.14093,
    "h": 109.8
  },
  "luminance": 0.45814
}

Semantic roles & 50–950 ramp

primary
#B9BA41
secondary
#908FC8
accent
#50D851
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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