#1F9440#1F9440

#1F9440 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.158 H 147.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F9440
RGBrgb(31, 148, 64)
HSLhsl(137, 65%, 35%)
HSVhsv(137, 79%, 58%)
CMYKcmyk(79.1%, 0%, 56.8%, 42%)
CIE-LABlab(53.86, -49.72, 35.21)
CIE-LCHlch(53.86, 60.92, 144.70°)
OKLaboklab(58.56% -0.1337 0.0841)
OKLCHoklch(58.56% 0.158 147.8)
XYZxyz(12.0794, 21.8398, 8.4284)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9440 #941F73
analogous
#39941F #1F9440 #1F947A
triadic
#1F9440 #401F94 #94401F
tetradic
#1F9440 #1F3994 #941F73 #947A1F
square
#1F9440 #1F3994 #941F73 #947A1F
split-complementary
#1F9440 #7A1F94 #941F39
monochromatic
#0A2F14 #14612A #1F9440 #2AC756 #53DB79

Accessibility & contrast

On white

3.91
#1F9440 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#1F9440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9440
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9440#FFFFFF#000000##000000
##1F94401.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968638
Deuteranopia (green-blind)
#897D47
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9440;
/* rgb */ color: rgb(31, 148, 64);
/* oklch */ color: oklch(58.6% 0.158 147.8);
Tailwind
colors: {
  custom: {
    50: '#6fb477',
    500: '#1f9440',
    950: '#000000',
  },
}
SCSS
$custom: #1f9440;
$custom-light: #6fb477;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9440",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 64
  },
  "hsl": {
    "h": 136.923,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.15791,
    "h": 147.8
  },
  "luminance": 0.21841
}

Semantic roles & 50–950 ramp

primary
#1F9440
secondary
#BE519F
accent
#3FB9E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9440

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

Preview Lab → · Contrast checker → · Palette generator →

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