#B6C122#B6C122

#B6C122 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.166 H 113.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B6C122
RGBrgb(182, 193, 34)
HSLhsl(64, 70%, 45%)
HSVhsv(64, 82%, 76%)
CMYKcmyk(5.7%, 0%, 82.4%, 24.3%)
CIE-LABlab(74.95, -21.60, 70.41)
CIE-LCHlch(74.95, 73.64, 107.05°)
OKLaboklab(77.67% -0.0674 0.152)
OKLCHoklch(77.67% 0.166 113.9)
XYZxyz(38.6514, 48.2013, 8.7808)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C122 #2D22C1
analogous
#C17D22 #B6C122 #67C122
triadic
#B6C122 #22B6C1 #C122B6
tetradic
#B6C122 #22C17D #2D22C1 #C12267
square
#B6C122 #22C17D #2D22C1 #C12267
split-complementary
#B6C122 #2267C1 #7D22C1
monochromatic
#545910 #858D19 #B6C122 #D3DE42 #DFE776

Accessibility & contrast

On white

1.97
#B6C122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B6C122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C122
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C122#FFFFFF#000000##000000
##B6C1221.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CFBA33
Tritanopia (blue-blind)
#C3B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b6c122;
/* rgb */ color: rgb(182, 193, 34);
/* oklch */ color: oklch(77.7% 0.166 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d36e',
    500: '#b6c122',
    950: '#000000',
  },
}
SCSS
$custom: #b6c122;
$custom-light: #d0d36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c122",
  "rgb": {
    "r": 182,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 64.151,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.16628,
    "h": 113.9
  },
  "luminance": 0.48201
}

Semantic roles & 50–950 ramp

primary
#B6C122
secondary
#7771CE
accent
#3BED47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B6C122

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

Preview Lab → · Contrast checker → · Palette generator →

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