#B2C22F#B2C22F

#B2C22F is a light, vivid yellow. Relative luminance 0.483; 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#B2C22F
RGBrgb(178, 194, 47)
HSLhsl(67, 61%, 47%)
HSVhsv(67, 76%, 76%)
CMYKcmyk(8.2%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.99, -23.30, 66.66)
CIE-LCHlch(74.99, 70.61, 109.27°)
OKLaboklab(77.64% -0.0709 0.1464)
OKLCHoklch(77.64% 0.163 115.8)
XYZxyz(38.1660, 48.2544, 9.9922)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C22F #3F2FC2
analogous
#C2892F #B2C22F #68C22F
triadic
#B2C22F #2FB2C2 #C22FB2
tetradic
#B2C22F #2FC289 #3F2FC2 #C22F68
square
#B2C22F #2FC289 #3F2FC2 #C22F68
split-complementary
#B2C22F #2F68C2 #892FC2
monochromatic
#585F17 #859123 #B2C22F #C9D658 #D9E289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C22F#FFFFFF#000000##000000
##B2C22F1.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)
#D0B807
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#BEB7A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c22f;
/* rgb */ color: rgb(178, 194, 47);
/* oklch */ color: oklch(77.6% 0.163 115.8);
Tailwind
colors: {
  custom: {
    50: '#cdd473',
    500: '#b2c22f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c22f;
$custom-light: #cdd473;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c22f",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 66.531,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.16268,
    "h": 115.8
  },
  "luminance": 0.48254
}

Semantic roles & 50–950 ramp

primary
#B2C22F
secondary
#8981CC
accent
#44E455
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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