#1F9C22#1F9C22

#1F9C22 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.5% C 0.189 H 143.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#1F9C22
RGBrgb(31, 156, 34)
HSLhsl(121, 67%, 37%)
HSVhsv(121, 80%, 61%)
CMYKcmyk(80.1%, 0%, 78.2%, 38.8%)
CIE-LABlab(56.27, -55.61, 50.63)
CIE-LCHlch(56.27, 75.21, 137.68°)
OKLaboklab(60.48% -0.1508 0.1136)
OKLCHoklch(60.48% 0.189 143)
XYZxyz(12.7415, 24.1822, 5.5092)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C22 #9C1F99
analogous
#5B9C1F #1F9C22 #1F9C61
triadic
#1F9C22 #221F9C #9C221F
tetradic
#1F9C22 #1F5B9C #9C1F99 #9C611F
square
#1F9C22 #1F5B9C #9C1F99 #9C611F
split-complementary
#1F9C22 #611F9C #9C1F5B
monochromatic
#0B360C #156917 #1F9C22 #29CF2D #58DE5B

Accessibility & contrast

On white

3.60
#1F9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#1F9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9C22
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9C22#FFFFFF#000000##000000
##1F9C221.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D03
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9c22;
/* rgb */ color: rgb(31, 156, 34);
/* oklch */ color: oklch(60.5% 0.189 143.0);
Tailwind
colors: {
  custom: {
    50: '#73ba67',
    500: '#1f9c22',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c22;
$custom-light: #73ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c22",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 121.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.18878,
    "h": 143
  },
  "luminance": 0.24184
}

Semantic roles & 50–950 ramp

primary
#1F9C22
secondary
#C155BF
accent
#3EE6EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #1F9C22

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

Preview Lab → · Contrast checker → · Palette generator →

#1F9C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva