#1F9620#1F9620

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

Color values

HEX#1F9620
RGBrgb(31, 150, 32)
HSLhsl(121, 66%, 35%)
HSVhsv(121, 79%, 59%)
CMYKcmyk(79.3%, 0%, 78.7%, 41.2%)
CIE-LABlab(54.25, -53.84, 49.33)
CIE-LCHlch(54.25, 73.02, 137.50°)
OKLaboklab(58.8% -0.1461 0.1106)
OKLCHoklch(58.8% 0.183 142.9)
XYZxyz(11.7314, 22.2069, 5.0343)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9620 #961F95
analogous
#59961F #1F9620 #1F965B
triadic
#1F9620 #201F96 #96201F
tetradic
#1F9620 #1F5996 #961F95 #965B1F
square
#1F9620 #1F5996 #961F95 #965B1F
split-complementary
#1F9620 #5B1F96 #961F59
monochromatic
#0A310A #156315 #1F9620 #29C92B #54DC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9620#FFFFFF#000000##000000
##1F96201.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)
#998702
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9620;
/* rgb */ color: rgb(31, 150, 32);
/* oklch */ color: oklch(58.8% 0.183 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b665',
    500: '#1f9620',
    950: '#000000',
  },
}
SCSS
$custom: #1f9620;
$custom-light: #71b665;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9620",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 120.504,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.1832,
    "h": 142.9
  },
  "luminance": 0.22208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9620

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

Preview Lab → · Contrast checker → · Palette generator →

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