#1F9B22#1F9B22

#1F9B22 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.188 H 143.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#1F9B22
RGBrgb(31, 155, 34)
HSLhsl(121, 67%, 36%)
HSVhsv(121, 80%, 61%)
CMYKcmyk(80%, 0%, 78.1%, 39.2%)
CIE-LABlab(55.94, -55.29, 50.30)
CIE-LCHlch(55.94, 74.75, 137.71°)
OKLaboklab(60.21% -0.1499 0.1129)
OKLCHoklch(60.21% 0.188 143)
XYZxyz(12.5743, 23.8480, 5.4535)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B22 #9B1F98
analogous
#5A9B1F #1F9B22 #1F9B60
triadic
#1F9B22 #221F9B #9B221F
tetradic
#1F9B22 #1F5A9B #9B1F98 #9B601F
square
#1F9B22 #1F5A9B #9B1F98 #9B601F
split-complementary
#1F9B22 #601F9B #9B1F5A
monochromatic
#0B350C #156817 #1F9B22 #29CE2D #57DD5A

Accessibility & contrast

On white

3.64
#1F9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#1F9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B22
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B22#FFFFFF#000000##000000
##1F9B221.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C03
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b22;
/* rgb */ color: rgb(31, 155, 34);
/* oklch */ color: oklch(60.2% 0.188 143.0);
Tailwind
colors: {
  custom: {
    50: '#72ba67',
    500: '#1f9b22',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b22;
$custom-light: #72ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b22",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 121.452,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60206,
    "c": 0.18768,
    "h": 143
  },
  "luminance": 0.23849
}

Semantic roles & 50–950 ramp

primary
#1F9B22
secondary
#C155BE
accent
#3EE5EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091206
muted
#7B817A

Preview Lab

Preview with #1F9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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