#1F9340#1F9340

#1F9340 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.3% C 0.157 H 147.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F9340
RGBrgb(31, 147, 64)
HSLhsl(137, 65%, 35%)
HSVhsv(137, 79%, 58%)
CMYKcmyk(78.9%, 0%, 56.5%, 42.4%)
CIE-LABlab(53.52, -49.37, 34.81)
CIE-LCHlch(53.52, 60.40, 144.81°)
OKLaboklab(58.29% -0.1327 0.0832)
OKLCHoklch(58.29% 0.157 147.9)
XYZxyz(11.9233, 21.5275, 8.3763)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9340 #931F72
analogous
#38931F #1F9340 #1F937A
triadic
#1F9340 #401F93 #93401F
tetradic
#1F9340 #1F3893 #931F72 #937A1F
square
#1F9340 #1F3893 #931F72 #937A1F
split-complementary
#1F9340 #7A1F93 #931F38
monochromatic
#0A2E14 #14602A #1F9340 #2AC656 #52DA79

Accessibility & contrast

On white

3.96
#1F9340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#1F9340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9340
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9340#FFFFFF#000000##000000
##1F93401.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958538
Deuteranopia (green-blind)
#887C46
Tritanopia (blue-blind)
#009080
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9340;
/* rgb */ color: rgb(31, 147, 64);
/* oklch */ color: oklch(58.3% 0.157 147.9);
Tailwind
colors: {
  custom: {
    50: '#6fb477',
    500: '#1f9340',
    950: '#000000',
  },
}
SCSS
$custom: #1f9340;
$custom-light: #6fb477;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9340",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 64
  },
  "hsl": {
    "h": 137.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.15663,
    "h": 147.9
  },
  "luminance": 0.21529
}

Semantic roles & 50–950 ramp

primary
#1F9340
secondary
#BE509F
accent
#40B8E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9340

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

Preview Lab → · Contrast checker → · Palette generator →

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