#B9BA2A#B9BA2A

#B9BA2A is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.155 H 110.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B9BA2A
RGBrgb(185, 186, 42)
HSLhsl(60, 63%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0.5%, 0%, 77.4%, 27.1%)
CIE-LABlab(73.29, -16.55, 66.85)
CIE-LCHlch(73.29, 68.87, 103.91°)
OKLaboklab(76.4% -0.053 0.1457)
OKLCHoklch(76.4% 0.155 110)
XYZxyz(37.9858, 45.6004, 8.9908)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA2A #2B2ABA
analogous
#BA732A #B9BA2A #71BA2A
triadic
#B9BA2A #2AB9BA #BA2AB9
tetradic
#B9BA2A #2ABA73 #2B2ABA #BA2A71
square
#B9BA2A #2ABA73 #2B2ABA #BA2A71
split-complementary
#B9BA2A #2A71BA #732ABA
monochromatic
#565613 #87881F #B9BA2A #D5D64B #E1E27D

Accessibility & contrast

On white

2.08
#B9BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#B9BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA2A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA2A#FFFFFF#000000##000000
##B9BA2A1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#C6AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba2a;
/* rgb */ color: rgb(185, 186, 42);
/* oklch */ color: oklch(76.4% 0.155 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce70',
    500: '#b9ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba2a;
$custom-light: #d2ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba2a",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 60.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.76403,
    "c": 0.155,
    "h": 110
  },
  "luminance": 0.45599
}

Semantic roles & 50–950 ramp

primary
#B9BA2A
secondary
#7676CA
accent
#42E643
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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