#B9BA3A#B9BA3A

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

Color values

HEX#B9BA3A
RGBrgb(185, 186, 58)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 69%, 73%)
CMYKcmyk(0.5%, 0%, 68.8%, 27.1%)
CIE-LABlab(73.38, -15.83, 61.48)
CIE-LCHlch(73.38, 63.49, 104.44°)
OKLaboklab(76.5% -0.0495 0.1372)
OKLCHoklch(76.5% 0.146 109.8)
XYZxyz(38.3315, 45.7387, 10.8114)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA3A #3B3ABA
analogous
#BA7B3A #B9BA3A #79BA3A
triadic
#B9BA3A #3AB9BA #BA3AB9
tetradic
#B9BA3A #3ABA7B #3B3ABA #BA3A79
square
#B9BA3A #3ABA7B #3B3ABA #BA3A79
split-complementary
#B9BA3A #3A79BA #7B3ABA
monochromatic
#5C5D1D #8B8B2B #B9BA3A #CDCE63 #DCDD92

Accessibility & contrast

On white

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

On black

10.15
#B9BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA3A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA3A#FFFFFF#000000##000000
##B9BA3A1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B226
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#C6AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba3a;
/* rgb */ color: rgb(185, 186, 58);
/* oklch */ color: oklch(76.5% 0.146 109.8);
Tailwind
colors: {
  custom: {
    50: '#d1ce78',
    500: '#b9ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba3a;
$custom-light: #d1ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba3a",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 60.469,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76504,
    "c": 0.14581,
    "h": 109.8
  },
  "luminance": 0.45738
}

Semantic roles & 50–950 ramp

primary
#B9BA3A
secondary
#8888C8
accent
#4CDC4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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