#1F9322#1F9322

#1F9322 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.0% C 0.179 H 143.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1F9322
RGBrgb(31, 147, 34)
HSLhsl(122, 65%, 35%)
HSVhsv(122, 79%, 58%)
CMYKcmyk(78.9%, 0%, 76.9%, 42.4%)
CIE-LABlab(53.25, -52.72, 47.66)
CIE-LCHlch(53.25, 71.06, 137.89°)
OKLaboklab(57.97% -0.1429 0.1074)
OKLCHoklch(57.97% 0.179 143.1)
XYZxyz(11.2868, 21.2729, 5.0243)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9322 #931F90
analogous
#56931F #1F9322 #1F935C
triadic
#1F9322 #221F93 #93221F
tetradic
#1F9322 #1F5693 #931F90 #935C1F
square
#1F9322 #1F5693 #931F90 #935C1F
split-complementary
#1F9322 #5C1F93 #931F56
monochromatic
#0A2E0B #146016 #1F9322 #2AC62E #52DA55

Accessibility & contrast

On white

4.00
#1F9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#1F9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9322
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9322#FFFFFF#000000##000000
##1F93221.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968409
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#008F7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9322;
/* rgb */ color: rgb(31, 147, 34);
/* oklch */ color: oklch(58.0% 0.179 143.1);
Tailwind
colors: {
  custom: {
    50: '#70b465',
    500: '#1f9322',
    950: '#000000',
  },
}
SCSS
$custom: #1f9322;
$custom-light: #70b465;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9322",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 121.552,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.17877,
    "h": 143.1
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#1F9322
secondary
#BE50BB
accent
#40E4E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9322

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

Preview Lab → · Contrast checker → · Palette generator →

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