#1F9341#1F9341

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

Color values

HEX#1F9341
RGBrgb(31, 147, 65)
HSLhsl(138, 65%, 35%)
HSVhsv(138, 79%, 58%)
CMYKcmyk(78.9%, 0%, 55.8%, 42.4%)
CIE-LABlab(53.53, -49.22, 34.32)
CIE-LCHlch(53.53, 60.00, 145.11°)
OKLaboklab(58.3% -0.1323 0.0822)
OKLCHoklch(58.3% 0.156 148.1)
XYZxyz(11.9520, 21.5390, 8.5275)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9341 #931F71
analogous
#37931F #1F9341 #1F937B
triadic
#1F9341 #411F93 #93411F
tetradic
#1F9341 #1F3793 #931F71 #937B1F
square
#1F9341 #1F3793 #931F71 #937B1F
split-complementary
#1F9341 #7B1F93 #931F37
monochromatic
#0A2E14 #14602B #1F9341 #2AC657 #52DA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9341#FFFFFF#000000##000000
##1F93411.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)
#958539
Deuteranopia (green-blind)
#877C47
Tritanopia (blue-blind)
#009081
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9341;
/* rgb */ color: rgb(31, 147, 65);
/* oklch */ color: oklch(58.3% 0.156 148.1);
Tailwind
colors: {
  custom: {
    50: '#6fb478',
    500: '#1f9341',
    950: '#000000',
  },
}
SCSS
$custom: #1f9341;
$custom-light: #6fb478;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9341",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 65
  },
  "hsl": {
    "h": 137.586,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.15575,
    "h": 148.1
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#1F9341
secondary
#BE509E
accent
#40B7E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9341

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

Preview Lab → · Contrast checker → · Palette generator →

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