#B6BA22#B6BA22

#B6BA22 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.159 H 111.3°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B6BA22
RGBrgb(182, 186, 34)
HSLhsl(62, 69%, 43%)
HSVhsv(62, 82%, 73%)
CMYKcmyk(2.2%, 0%, 81.7%, 27.1%)
CIE-LABlab(73.01, -18.12, 68.74)
CIE-LCHlch(73.01, 71.09, 104.77°)
OKLaboklab(76.11% -0.0578 0.1484)
OKLCHoklch(76.11% 0.159 111.3)
XYZxyz(37.1404, 45.1794, 8.2771)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BA22 #2622BA
analogous
#BA7222 #B6BA22 #6ABA22
triadic
#B6BA22 #22B6BA #BA22B6
tetradic
#B6BA22 #22BA72 #2622BA #BA226A
square
#B6BA22 #22BA72 #2622BA #BA226A
split-complementary
#B6BA22 #226ABA #7222BA
monochromatic
#51530F #838619 #B6BA22 #D7DC3E #E2E571

Accessibility & contrast

On white

2.09
#B6BA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B6BA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BA22
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BA22#FFFFFF#000000##000000
##B6BA221.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CAB531
Tritanopia (blue-blind)
#C3AE9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b6ba22;
/* rgb */ color: rgb(182, 186, 34);
/* oklch */ color: oklch(76.1% 0.159 111.3);
Tailwind
colors: {
  custom: {
    50: '#d0ce6d',
    500: '#b6ba22',
    950: '#000000',
  },
}
SCSS
$custom: #b6ba22;
$custom-light: #d0ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ba22",
  "rgb": {
    "r": 182,
    "g": 186,
    "b": 34
  },
  "hsl": {
    "h": 61.579,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76113,
    "c": 0.15927,
    "h": 111.3
  },
  "luminance": 0.45178
}

Semantic roles & 50–950 ramp

primary
#B6BA22
secondary
#6E6CCC
accent
#3CEC41
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6BA22

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

Preview Lab → · Contrast checker → · Palette generator →

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