#1F9720#1F9720

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

Color values

HEX#1F9720
RGBrgb(31, 151, 32)
HSLhsl(121, 66%, 36%)
HSVhsv(121, 79%, 59%)
CMYKcmyk(79.5%, 0%, 78.8%, 40.8%)
CIE-LABlab(54.58, -54.16, 49.66)
CIE-LCHlch(54.58, 73.48, 137.48°)
OKLaboklab(59.08% -0.147 0.1112)
OKLCHoklch(59.08% 0.184 142.9)
XYZxyz(11.8916, 22.5274, 5.0877)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9720 #971F96
analogous
#5A971F #1F9720 #1F975C
triadic
#1F9720 #201F97 #97201F
tetradic
#1F9720 #1F5A97 #971F96 #975C1F
square
#1F9720 #1F5A97 #971F96 #975C1F
split-complementary
#1F9720 #5C1F97 #971F5A
monochromatic
#0A310A #156415 #1F9720 #29CA2B #54DC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9720#FFFFFF#000000##000000
##1F97201.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)
#9A8801
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9720;
/* rgb */ color: rgb(31, 151, 32);
/* oklch */ color: oklch(59.1% 0.184 142.9);
Tailwind
colors: {
  custom: {
    50: '#72b765',
    500: '#1f9720',
    950: '#000000',
  },
}
SCSS
$custom: #1f9720;
$custom-light: #72b765;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9720",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 120.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59077,
    "c": 0.18431,
    "h": 142.9
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#1F9720
secondary
#BF52BE
accent
#3FE7E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9720

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

Preview Lab → · Contrast checker → · Palette generator →

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