#1F9E22#1F9E22

#1F9E22 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.0% C 0.191 H 143.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1F9E22
RGBrgb(31, 158, 34)
HSLhsl(121, 67%, 37%)
HSVhsv(121, 80%, 62%)
CMYKcmyk(80.4%, 0%, 78.5%, 38%)
CIE-LABlab(56.94, -56.25, 51.28)
CIE-LCHlch(56.94, 76.11, 137.64°)
OKLaboklab(61.04% -0.1525 0.1149)
OKLCHoklch(61.04% 0.191 143)
XYZxyz(13.0798, 24.8589, 5.6220)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E22 #9E1F9B
analogous
#5C9E1F #1F9E22 #1F9E61
triadic
#1F9E22 #221F9E #9E221F
tetradic
#1F9E22 #1F5C9E #9E1F9B #9E611F
square
#1F9E22 #1F5C9E #9E1F9B #9E611F
split-complementary
#1F9E22 #611F9E #9E1F5C
monochromatic
#0B380C #156B17 #1F9E22 #29D12D #59DE5C

Accessibility & contrast

On white

3.52
#1F9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#1F9E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E22
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E22#FFFFFF#000000##000000
##1F9E221.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E01
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e22;
/* rgb */ color: rgb(31, 158, 34);
/* oklch */ color: oklch(61.0% 0.191 143.0);
Tailwind
colors: {
  custom: {
    50: '#73bc67',
    500: '#1f9e22',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e22;
$custom-light: #73bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e22",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 121.417,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.19097,
    "h": 143
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#1F9E22
secondary
#C256C0
accent
#3EE6EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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