#1F9A22#1F9A22

#1F9A22 is a mid, vivid green. Relative luminance 0.235; OKLCH L 59.9% C 0.187 H 143.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F9A22
RGBrgb(31, 154, 34)
HSLhsl(121, 66%, 36%)
HSVhsv(121, 80%, 60%)
CMYKcmyk(79.9%, 0%, 77.9%, 39.6%)
CIE-LABlab(55.60, -54.97, 49.98)
CIE-LCHlch(55.60, 74.30, 137.73°)
OKLaboklab(59.93% -0.1491 0.1122)
OKLCHoklch(59.93% 0.187 143)
XYZxyz(12.4086, 23.5165, 5.3982)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A22 #9A1F97
analogous
#5A9A1F #1F9A22 #1F9A60
triadic
#1F9A22 #221F9A #9A221F
tetradic
#1F9A22 #1F5A9A #9A1F97 #9A601F
square
#1F9A22 #1F5A9A #9A1F97 #9A601F
split-complementary
#1F9A22 #601F9A #9A1F5A
monochromatic
#0A340C #156717 #1F9A22 #29CD2D #56DD5A

Accessibility & contrast

On white

3.68
#1F9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#1F9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A22
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A22#FFFFFF#000000##000000
##1F9A221.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B04
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9a22;
/* rgb */ color: rgb(31, 154, 34);
/* oklch */ color: oklch(59.9% 0.187 143.0);
Tailwind
colors: {
  custom: {
    50: '#72b966',
    500: '#1f9a22',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a22;
$custom-light: #72b966;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a22",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 121.463,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.18658,
    "h": 143
  },
  "luminance": 0.23518
}

Semantic roles & 50–950 ramp

primary
#1F9A22
secondary
#C154BE
accent
#3EE5E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #1F9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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