#B2C22E#B2C22E

#B2C22E is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.163 H 115.8°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#B2C22E
RGBrgb(178, 194, 46)
HSLhsl(66, 62%, 47%)
HSVhsv(66, 76%, 76%)
CMYKcmyk(8.2%, 0%, 76.3%, 23.9%)
CIE-LABlab(74.98, -23.34, 66.97)
CIE-LCHlch(74.98, 70.92, 109.22°)
OKLaboklab(77.63% -0.0711 0.1469)
OKLCHoklch(77.63% 0.163 115.8)
XYZxyz(38.1461, 48.2464, 9.8872)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C22E #3E2EC2
analogous
#C2882E #B2C22E #68C22E
triadic
#B2C22E #2EB2C2 #C22EB2
tetradic
#B2C22E #2EC288 #3E2EC2 #C22E68
square
#B2C22E #2EC288 #3E2EC2 #C22E68
split-complementary
#B2C22E #2E68C2 #882EC2
monochromatic
#575F17 #859122 #B2C22E #C9D756 #D9E388

Accessibility & contrast

On white

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

On black

10.65
#B2C22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C22E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C22E#FFFFFF#000000##000000
##B2C22E1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B803
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#BEB7A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c22e;
/* rgb */ color: rgb(178, 194, 46);
/* oklch */ color: oklch(77.6% 0.163 115.8);
Tailwind
colors: {
  custom: {
    50: '#cdd473',
    500: '#b2c22e',
    950: '#000000',
  },
}
SCSS
$custom: #b2c22e;
$custom-light: #cdd473;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c22e",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 66.486,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77633,
    "c": 0.16319,
    "h": 115.8
  },
  "luminance": 0.48246
}

Semantic roles & 50–950 ramp

primary
#B2C22E
secondary
#887FCC
accent
#43E555
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C22E

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

Preview Lab → · Contrast checker → · Palette generator →

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