#22B31F#22B31F

#22B31F is a light, highly saturated green. Relative luminance 0.327; OKLCH L 66.8% C 0.214 H 142.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#22B31F
RGBrgb(34, 179, 31)
HSLhsl(119, 70%, 41%)
HSVhsv(119, 83%, 70%)
CMYKcmyk(81%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.90, -62.53, 58.77)
CIE-LCHlch(63.90, 85.82, 136.78°)
OKLaboklab(66.84% -0.1698 0.1301)
OKLCHoklch(66.84% 0.214 142.5)
XYZxyz(17.0260, 32.6771, 6.7060)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22B31F #B01FB3
analogous
#6CB31F #22B31F #1FB366
triadic
#22B31F #1F22B3 #B31F22
tetradic
#22B31F #1F6CB3 #B01FB3 #B3661F
square
#22B31F #1F6CB3 #B01FB3 #B3661F
split-complementary
#22B31F #661FB3 #B31F6C
monochromatic
#0E4B0D #187F16 #22B31F #37DC33 #6AE568

Accessibility & contrast

On white

2.79
#22B31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#22B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22B31F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22B31F#FFFFFF#000000##000000
##22B31F1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #22b31f;
/* rgb */ color: rgb(34, 179, 31);
/* oklch */ color: oklch(66.8% 0.214 142.5);
Tailwind
colors: {
  custom: {
    50: '#79cb69',
    500: '#22b31f',
    950: '#000000',
  },
}
SCSS
$custom: #22b31f;
$custom-light: #79cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#22b31f",
  "rgb": {
    "r": 34,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 118.784,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66841,
    "c": 0.21396,
    "h": 142.5
  },
  "luminance": 0.32679
}

Semantic roles & 50–950 ramp

primary
#22B31F
secondary
#C864CA
accent
#3BEDEA
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #22B31F

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

Preview Lab → · Contrast checker → · Palette generator →

#22B31F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva