#B9BA33#B9BA33

#B9BA33 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.150 H 109.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B9BA33
RGBrgb(185, 186, 51)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0.5%, 0%, 72.6%, 27.1%)
CIE-LABlab(73.33, -16.18, 63.98)
CIE-LCHlch(73.33, 65.99, 104.19°)
OKLaboklab(76.46% -0.0511 0.1412)
OKLCHoklch(76.46% 0.15 109.9)
XYZxyz(38.1654, 45.6722, 9.9365)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA33 #3433BA
analogous
#BA7833 #B9BA33 #76BA33
triadic
#B9BA33 #33B9BA #BA33B9
tetradic
#B9BA33 #33BA78 #3433BA #BA3376
square
#B9BA33 #33BA78 #3433BA #BA3376
split-complementary
#B9BA33 #3376BA #7833BA
monochromatic
#595A19 #898A26 #B9BA33 #D1D159 #DEDF89

Accessibility & contrast

On white

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

On black

10.13
#B9BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA33
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA33#FFFFFF#000000##000000
##B9BA331.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B218
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#C6AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba33;
/* rgb */ color: rgb(185, 186, 51);
/* oklch */ color: oklch(76.5% 0.150 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2ce74',
    500: '#b9ba33',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba33;
$custom-light: #d2ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba33",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 60.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76455,
    "c": 0.15018,
    "h": 109.9
  },
  "luminance": 0.45671
}

Semantic roles & 50–950 ramp

primary
#B9BA33
secondary
#8180C9
accent
#48E049
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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