#B9BA3C#B9BA3C

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

Color values

HEX#B9BA3C
RGBrgb(185, 186, 60)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0.5%, 0%, 67.7%, 27.1%)
CIE-LABlab(73.39, -15.72, 60.73)
CIE-LCHlch(73.39, 62.73, 104.51°)
OKLaboklab(76.52% -0.049 0.1359)
OKLCHoklch(76.52% 0.144 109.8)
XYZxyz(38.3834, 45.7594, 11.0846)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA3C #3D3CBA
analogous
#BA7C3C #B9BA3C #7ABA3C
triadic
#B9BA3C #3CB9BA #BA3CB9
tetradic
#B9BA3C #3CBA7C #3D3CBA #BA3C7A
square
#B9BA3C #3CBA7C #3D3CBA #BA3C7A
split-complementary
#B9BA3C #3C7ABA #7C3CBA
monochromatic
#5D5D1E #8B8C2D #B9BA3C #CDCE66 #DCDC94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BA3C#FFFFFF#000000##000000
##B9BA3C1.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)
#C9B229
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#C6AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba3c;
/* rgb */ color: rgb(185, 186, 60);
/* oklch */ color: oklch(76.5% 0.144 109.8);
Tailwind
colors: {
  custom: {
    50: '#d1ce79',
    500: '#b9ba3c',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba3c;
$custom-light: #d1ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba3c",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 60.476,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76519,
    "c": 0.14447,
    "h": 109.8
  },
  "luminance": 0.45758
}

Semantic roles & 50–950 ramp

primary
#B9BA3C
secondary
#8B8AC8
accent
#4DDB4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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