#1F9221#1F9221

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

Color values

HEX#1F9221
RGBrgb(31, 146, 33)
HSLhsl(121, 65%, 35%)
HSVhsv(121, 79%, 57%)
CMYKcmyk(78.8%, 0%, 77.4%, 42.7%)
CIE-LABlab(52.90, -52.47, 47.67)
CIE-LCHlch(52.90, 70.89, 137.74°)
OKLaboklab(57.68% -0.1423 0.1072)
OKLCHoklch(57.68% 0.178 143)
XYZxyz(11.1178, 20.9576, 4.8978)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9221 #921F90
analogous
#57921F #1F9221 #1F925A
triadic
#1F9221 #211F92 #92211F
tetradic
#1F9221 #1F5792 #921F90 #925A1F
square
#1F9221 #1F5792 #921F90 #925A1F
split-complementary
#1F9221 #5A1F92 #921F57
monochromatic
#0A2D0A #146016 #1F9221 #2AC42C #51DA54

Accessibility & contrast

On white

4.04
#1F9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9221#FFFFFF#000000##000000
##1F92211.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9221;
/* rgb */ color: rgb(31, 146, 33);
/* oklch */ color: oklch(57.7% 0.178 143.0);
Tailwind
colors: {
  custom: {
    50: '#70b365',
    500: '#1f9221',
    950: '#000000',
  },
}
SCSS
$custom: #1f9221;
$custom-light: #70b365;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9221",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 121.043,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.1782,
    "h": 143
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#1F9221
secondary
#BD50BB
accent
#40E5E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9221

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

Preview Lab → · Contrast checker → · Palette generator →

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