#B9BA34#B9BA34

#B9BA34 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.14:1 contrast (WCAG AA passes).

Color values

HEX#B9BA34
RGBrgb(185, 186, 52)
HSLhsl(60, 56%, 47%)
HSVhsv(60, 72%, 73%)
CMYKcmyk(0.5%, 0%, 72%, 27.1%)
CIE-LABlab(73.34, -16.13, 63.63)
CIE-LCHlch(73.34, 65.65, 104.22°)
OKLaboklab(76.46% -0.0509 0.1407)
OKLCHoklch(76.46% 0.15 109.9)
XYZxyz(38.1877, 45.6811, 10.0539)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA34 #3534BA
analogous
#BA7834 #B9BA34 #76BA34
triadic
#B9BA34 #34B9BA #BA34B9
tetradic
#B9BA34 #34BA78 #3534BA #BA3476
square
#B9BA34 #34BA78 #3534BA #BA3476
split-complementary
#B9BA34 #3476BA #7834BA
monochromatic
#5A5A19 #898A27 #B9BA34 #D0D15A #DEDE8A

Accessibility & contrast

On white

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

On black

10.14
#B9BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA34
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA34#FFFFFF#000000##000000
##B9BA341.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ba34;
/* rgb */ color: rgb(185, 186, 52);
/* oklch */ color: oklch(76.5% 0.150 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2ce75',
    500: '#b9ba34',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba34;
$custom-light: #d2ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba34",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 60.448,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76462,
    "c": 0.14958,
    "h": 109.9
  },
  "luminance": 0.4568
}

Semantic roles & 50–950 ramp

primary
#B9BA34
secondary
#8281C8
accent
#48E049
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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