#1F9622#1F9622

#1F9622 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.8% C 0.182 H 143.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1F9622
RGBrgb(31, 150, 34)
HSLhsl(122, 66%, 35%)
HSVhsv(122, 79%, 59%)
CMYKcmyk(79.3%, 0%, 77.3%, 41.2%)
CIE-LABlab(54.26, -53.69, 48.66)
CIE-LCHlch(54.26, 72.46, 137.82°)
OKLaboklab(58.81% -0.1456 0.1094)
OKLCHoklch(58.81% 0.182 143.1)
XYZxyz(11.7594, 22.2181, 5.1818)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9622 #961F93
analogous
#57961F #1F9622 #1F965E
triadic
#1F9622 #221F96 #96221F
tetradic
#1F9622 #1F5796 #961F93 #965E1F
square
#1F9622 #1F5796 #961F93 #965E1F
split-complementary
#1F9622 #5E1F96 #961F57
monochromatic
#0A310B #156317 #1F9622 #29C92D #54DC57

Accessibility & contrast

On white

3.86
#1F9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#1F9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9622
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9622#FFFFFF#000000##000000
##1F96221.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998707
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9622;
/* rgb */ color: rgb(31, 150, 34);
/* oklch */ color: oklch(58.8% 0.182 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b666',
    500: '#1f9622',
    950: '#000000',
  },
}
SCSS
$custom: #1f9622;
$custom-light: #71b666;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9622",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 121.513,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.18214,
    "h": 143.1
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#1F9622
secondary
#BF52BC
accent
#3FE4E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9622

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

Preview Lab → · Contrast checker → · Palette generator →

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