#1F9224#1F9224

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

Color values

HEX#1F9224
RGBrgb(31, 146, 36)
HSLhsl(123, 65%, 35%)
HSVhsv(123, 79%, 57%)
CMYKcmyk(78.8%, 0%, 75.3%, 42.7%)
CIE-LABlab(52.92, -52.23, 46.60)
CIE-LCHlch(52.92, 70.00, 138.26°)
OKLaboklab(57.7% -0.1415 0.1054)
OKLCHoklch(57.7% 0.176 143.3)
XYZxyz(11.1617, 20.9751, 5.1291)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9224 #921F8D
analogous
#53921F #1F9224 #1F925E
triadic
#1F9224 #241F92 #92241F
tetradic
#1F9224 #1F5392 #921F8D #925E1F
square
#1F9224 #1F5392 #921F8D #925E1F
split-complementary
#1F9224 #5E1F92 #921F53
monochromatic
#0A2D0B #146018 #1F9224 #2AC430 #51DA57

Accessibility & contrast

On white

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

On black

5.20
#1F9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9224
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9224#FFFFFF#000000##000000
##1F92241.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840F
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9224;
/* rgb */ color: rgb(31, 146, 36);
/* oklch */ color: oklch(57.7% 0.176 143.3);
Tailwind
colors: {
  custom: {
    50: '#70b366',
    500: '#1f9224',
    950: '#000000',
  },
}
SCSS
$custom: #1f9224;
$custom-light: #70b366;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9224",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 122.609,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.17648,
    "h": 143.3
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#1F9224
secondary
#BD50B8
accent
#40E1E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9224

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

Preview Lab → · Contrast checker → · Palette generator →

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