#1F9D22#1F9D22

#1F9D22 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.190 H 143.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1F9D22
RGBrgb(31, 157, 34)
HSLhsl(121, 67%, 37%)
HSVhsv(121, 80%, 62%)
CMYKcmyk(80.3%, 0%, 78.3%, 38.4%)
CIE-LABlab(56.60, -55.93, 50.96)
CIE-LCHlch(56.60, 75.66, 137.66°)
OKLaboklab(60.76% -0.1517 0.1142)
OKLCHoklch(60.76% 0.19 143)
XYZxyz(12.9099, 24.5192, 5.5653)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D22 #9D1F9A
analogous
#5B9D1F #1F9D22 #1F9D61
triadic
#1F9D22 #221F9D #9D221F
tetradic
#1F9D22 #1F5B9D #9D1F9A #9D611F
square
#1F9D22 #1F5B9D #9D1F9A #9D611F
split-complementary
#1F9D22 #611F9D #9D1F5B
monochromatic
#0B370C #156A17 #1F9D22 #29D02D #58DE5C

Accessibility & contrast

On white

3.56
#1F9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#1F9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D22
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D22#FFFFFF#000000##000000
##1F9D221.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D02
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d22;
/* rgb */ color: rgb(31, 157, 34);
/* oklch */ color: oklch(60.8% 0.190 143.0);
Tailwind
colors: {
  custom: {
    50: '#73bb67',
    500: '#1f9d22',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d22;
$custom-light: #73bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d22",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 121.429,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.18987,
    "h": 143
  },
  "luminance": 0.24521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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