#1F9722#1F9722

#1F9722 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.183 H 143.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F9722
RGBrgb(31, 151, 34)
HSLhsl(122, 66%, 36%)
HSVhsv(122, 79%, 59%)
CMYKcmyk(79.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(54.59, -54.01, 48.99)
CIE-LCHlch(54.59, 72.92, 137.79°)
OKLaboklab(59.09% -0.1465 0.1101)
OKLCHoklch(59.09% 0.183 143.1)
XYZxyz(11.9197, 22.5386, 5.2352)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9722 #971F94
analogous
#58971F #1F9722 #1F975E
triadic
#1F9722 #221F97 #97221F
tetradic
#1F9722 #1F5897 #971F94 #975E1F
square
#1F9722 #1F5897 #971F94 #975E1F
split-complementary
#1F9722 #5E1F97 #971F58
monochromatic
#0A310B #156417 #1F9722 #29CA2D #54DC58

Accessibility & contrast

On white

3.81
#1F9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#1F9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9722
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9722#FFFFFF#000000##000000
##1F97221.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8806
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9722;
/* rgb */ color: rgb(31, 151, 34);
/* oklch */ color: oklch(59.1% 0.183 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b766',
    500: '#1f9722',
    950: '#000000',
  },
}
SCSS
$custom: #1f9722;
$custom-light: #71b766;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9722",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 121.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.18325,
    "h": 143.1
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#1F9722
secondary
#BF52BD
accent
#3FE5E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9722

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

Preview Lab → · Contrast checker → · Palette generator →

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