#B9BA22#B9BA22

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

Color values

HEX#B9BA22
RGBrgb(185, 186, 34)
HSLhsl(60, 69%, 43%)
HSVhsv(60, 82%, 73%)
CMYKcmyk(0.5%, 0%, 81.7%, 27.1%)
CIE-LABlab(73.25, -16.83, 69.04)
CIE-LCHlch(73.25, 71.07, 103.70°)
OKLaboklab(76.37% -0.0543 0.149)
OKLCHoklch(76.37% 0.159 110)
XYZxyz(37.8567, 45.5487, 8.3107)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA22 #2322BA
analogous
#BA6F22 #B9BA22 #6DBA22
triadic
#B9BA22 #22B9BA #BA22B9
tetradic
#B9BA22 #22BA6F #2322BA #BA226D
square
#B9BA22 #22BA6F #2322BA #BA226D
split-complementary
#B9BA22 #226DBA #6F22BA
monochromatic
#52530F #868619 #B9BA22 #DBDC3E #E4E571

Accessibility & contrast

On white

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

On black

10.11
#B9BA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA22
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA22#FFFFFF#000000##000000
##B9BA221.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB631
Tritanopia (blue-blind)
#C7AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba22;
/* rgb */ color: rgb(185, 186, 34);
/* oklch */ color: oklch(76.4% 0.159 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce6d',
    500: '#b9ba22',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba22;
$custom-light: #d2ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba22",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 34
  },
  "hsl": {
    "h": 60.395,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76365,
    "c": 0.15855,
    "h": 110
  },
  "luminance": 0.45548
}

Semantic roles & 50–950 ramp

primary
#B9BA22
secondary
#6D6CCC
accent
#3CEC3D
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BA22

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

Preview Lab → · Contrast checker → · Palette generator →

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