#B9BA2B#B9BA2B

#B9BA2B 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#B9BA2B
RGBrgb(185, 186, 43)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0.5%, 0%, 76.9%, 27.1%)
CIE-LABlab(73.29, -16.52, 66.55)
CIE-LCHlch(73.29, 68.57, 103.94°)
OKLaboklab(76.41% -0.0528 0.1452)
OKLCHoklch(76.41% 0.155 110)
XYZxyz(38.0039, 45.6076, 9.0863)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA2B #2C2BBA
analogous
#BA742B #B9BA2B #71BA2B
triadic
#B9BA2B #2BB9BA #BA2BB9
tetradic
#B9BA2B #2BBA74 #2C2BBA #BA2B71
square
#B9BA2B #2BBA74 #2C2BBA #BA2B71
split-complementary
#B9BA2B #2B71BA #742BBA
monochromatic
#565714 #888820 #B9BA2B #D5D64C #E1E17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BA2B#FFFFFF#000000##000000
##B9BA2B1.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)
#C9B200
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#C6AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba2b;
/* rgb */ color: rgb(185, 186, 43);
/* oklch */ color: oklch(76.4% 0.155 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce71',
    500: '#b9ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba2b;
$custom-light: #d2ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba2b",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 60.42,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76408,
    "c": 0.15451,
    "h": 110
  },
  "luminance": 0.45607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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