#B6C221#B6C221

#B6C221 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.168 H 114.2°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B6C221
RGBrgb(182, 194, 33)
HSLhsl(64, 71%, 45%)
HSVhsv(64, 83%, 76%)
CMYKcmyk(6.2%, 0%, 83%, 23.9%)
CIE-LABlab(75.23, -22.12, 70.88)
CIE-LCHlch(75.23, 74.25, 107.33°)
OKLaboklab(77.89% -0.0689 0.1529)
OKLCHoklch(77.89% 0.168 114.2)
XYZxyz(38.8590, 48.6393, 8.7798)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C221 #2D21C2
analogous
#C27E21 #B6C221 #66C221
triadic
#B6C221 #21B6C2 #C221B6
tetradic
#B6C221 #21C27E #2D21C2 #C22166
square
#B6C221 #21C27E #2D21C2 #C22166
split-complementary
#B6C221 #2166C2 #7E21C2
monochromatic
#54590F #858E18 #B6C221 #D3DF41 #DFE876

Accessibility & contrast

On white

1.96
#B6C221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B6C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C221
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C221#FFFFFF#000000##000000
##B6C2211.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D0BB32
Tritanopia (blue-blind)
#C3B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b6c221;
/* rgb */ color: rgb(182, 194, 33);
/* oklch */ color: oklch(77.9% 0.168 114.2);
Tailwind
colors: {
  custom: {
    50: '#d0d46e',
    500: '#b6c221',
    950: '#000000',
  },
}
SCSS
$custom: #b6c221;
$custom-light: #d0d46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c221",
  "rgb": {
    "r": 182,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 64.472,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77888,
    "c": 0.16769,
    "h": 114.2
  },
  "luminance": 0.48638
}

Semantic roles & 50–950 ramp

primary
#B6C221
secondary
#7770CF
accent
#3AEE47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B6C221

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

Preview Lab → · Contrast checker → · Palette generator →

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