#B9BA2C#B9BA2C

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

Color values

HEX#B9BA2C
RGBrgb(185, 186, 44)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0.5%, 0%, 76.3%, 27.1%)
CIE-LABlab(73.30, -16.48, 66.25)
CIE-LCHlch(73.30, 68.26, 103.97°)
OKLaboklab(76.41% -0.0526 0.1448)
OKLCHoklch(76.41% 0.154 110)
XYZxyz(38.0225, 45.6151, 9.1841)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA2C #2D2CBA
analogous
#BA742C #B9BA2C #72BA2C
triadic
#B9BA2C #2CB9BA #BA2CB9
tetradic
#B9BA2C #2CBA74 #2D2CBA #BA2C72
square
#B9BA2C #2CBA74 #2D2CBA #BA2C72
split-complementary
#B9BA2C #2C72BA #742CBA
monochromatic
#575715 #888920 #B9BA2C #D4D54E #E0E180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BA2C#FFFFFF#000000##000000
##B9BA2C1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ba2c;
/* rgb */ color: rgb(185, 186, 44);
/* oklch */ color: oklch(76.4% 0.154 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce71',
    500: '#b9ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba2c;
$custom-light: #d2ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba2c",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 60.423,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76414,
    "c": 0.15401,
    "h": 110
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#B9BA2C
secondary
#7978CA
accent
#43E544
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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