#1F9420#1F9420

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

Color values

HEX#1F9420
RGBrgb(31, 148, 32)
HSLhsl(121, 65%, 35%)
HSVhsv(121, 79%, 58%)
CMYKcmyk(79.1%, 0%, 78.4%, 42%)
CIE-LABlab(53.57, -53.19, 48.67)
CIE-LCHlch(53.57, 72.10, 137.54°)
OKLaboklab(58.24% -0.1443 0.1092)
OKLCHoklch(58.24% 0.181 142.9)
XYZxyz(11.4150, 21.5740, 4.9288)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9420 #941F93
analogous
#58941F #1F9420 #1F945B
triadic
#1F9420 #201F94 #94201F
tetradic
#1F9420 #1F5894 #941F93 #945B1F
square
#1F9420 #1F5894 #941F93 #945B1F
split-complementary
#1F9420 #5B1F94 #941F58
monochromatic
#0A2F0A #146115 #1F9420 #2AC72B #53DB54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9420#FFFFFF#000000##000000
##1F94201.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)
#978503
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9420;
/* rgb */ color: rgb(31, 148, 32);
/* oklch */ color: oklch(58.2% 0.181 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b565',
    500: '#1f9420',
    950: '#000000',
  },
}
SCSS
$custom: #1f9420;
$custom-light: #71b565;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9420",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 120.513,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.18098,
    "h": 142.9
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

primary
#1F9420
secondary
#BE51BD
accent
#3FE7E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9420

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

Preview Lab → · Contrast checker → · Palette generator →

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