#1F9422#1F9422

#1F9422 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.180 H 143.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F9422
RGBrgb(31, 148, 34)
HSLhsl(122, 65%, 35%)
HSVhsv(122, 79%, 58%)
CMYKcmyk(79.1%, 0%, 77%, 42%)
CIE-LABlab(53.58, -53.04, 47.99)
CIE-LCHlch(53.58, 71.53, 137.86°)
OKLaboklab(58.25% -0.1438 0.1081)
OKLCHoklch(58.25% 0.18 143.1)
XYZxyz(11.4430, 21.5853, 5.0764)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9422 #941F91
analogous
#57941F #1F9422 #1F945C
triadic
#1F9422 #221F94 #94221F
tetradic
#1F9422 #1F5794 #941F91 #945C1F
square
#1F9422 #1F5794 #941F91 #945C1F
split-complementary
#1F9422 #5C1F94 #941F57
monochromatic
#0A2F0B #146116 #1F9422 #2AC72E #53DB56

Accessibility & contrast

On white

3.95
#1F9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#1F9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9422
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9422#FFFFFF#000000##000000
##1F94221.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978508
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#00907E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9422;
/* rgb */ color: rgb(31, 148, 34);
/* oklch */ color: oklch(58.3% 0.180 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b566',
    500: '#1f9422',
    950: '#000000',
  },
}
SCSS
$custom: #1f9422;
$custom-light: #71b566;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9422",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 121.538,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.1799,
    "h": 143.1
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#1F9422
secondary
#BE51BB
accent
#3FE4E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9422

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

Preview Lab → · Contrast checker → · Palette generator →

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