#1F9220#1F9220

#1F9220 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.7% C 0.179 H 142.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F9220
RGBrgb(31, 146, 32)
HSLhsl(121, 65%, 35%)
HSVhsv(121, 79%, 57%)
CMYKcmyk(78.8%, 0%, 78.1%, 42.7%)
CIE-LABlab(52.90, -52.54, 48.01)
CIE-LCHlch(52.90, 71.17, 137.58°)
OKLaboklab(57.68% -0.1426 0.1078)
OKLCHoklch(57.68% 0.179 142.9)
XYZxyz(11.1040, 20.9520, 4.8252)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9220 #921F91
analogous
#57921F #1F9220 #1F925A
triadic
#1F9220 #201F92 #92201F
tetradic
#1F9220 #1F5792 #921F91 #925A1F
square
#1F9220 #1F5792 #921F91 #925A1F
split-complementary
#1F9220 #5A1F92 #921F57
monochromatic
#0A2D0A #146015 #1F9220 #2AC42B #51DA52

Accessibility & contrast

On white

4.05
#1F9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#1F9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9220
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9220#FFFFFF#000000##000000
##1F92201.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958404
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#008E7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9220;
/* rgb */ color: rgb(31, 146, 32);
/* oklch */ color: oklch(57.7% 0.179 142.9);
Tailwind
colors: {
  custom: {
    50: '#70b364',
    500: '#1f9220',
    950: '#000000',
  },
}
SCSS
$custom: #1f9220;
$custom-light: #70b364;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9220",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 120.522,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.17875,
    "h": 142.9
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#1F9220
secondary
#BD50BC
accent
#40E6E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9220

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

Preview Lab → · Contrast checker → · Palette generator →

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