#1F8140#1F8140

#1F8140 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.133 H 149.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8140
RGBrgb(31, 129, 64)
HSLhsl(140, 61%, 31%)
HSVhsv(140, 76%, 51%)
CMYKcmyk(76%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.44, -42.74, 27.35)
CIE-LCHlch(47.44, 50.74, 147.38°)
OKLaboklab(53.26% -0.1149 0.0666)
OKLCHoklch(53.26% 0.133 149.9)
XYZxyz(9.3400, 16.3609, 7.5152)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8140 #811F60
analogous
#2F811F #1F8140 #1F8171
triadic
#1F8140 #401F81 #81401F
tetradic
#1F8140 #1F2F81 #811F60 #81711F
square
#1F8140 #1F2F81 #811F60 #81711F
split-complementary
#1F8140 #711F81 #811F2F
monochromatic
#071E0F #135028 #1F8140 #2BB258 #47D376

Accessibility & contrast

On white

4.92
#1F8140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F8140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8140
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8140#FFFFFF#000000##FFFFFF
##1F81401.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753B
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8140;
/* rgb */ color: rgb(31, 129, 64);
/* oklch */ color: oklch(53.3% 0.133 149.9);
Tailwind
colors: {
  custom: {
    50: '#6aa676',
    500: '#1f8140',
    950: '#000000',
  },
}
SCSS
$custom: #1f8140;
$custom-light: #6aa676;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8140",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 140.204,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.13282,
    "h": 149.9
  },
  "luminance": 0.16362
}

Semantic roles & 50–950 ramp

primary
#1F8140
secondary
#B44890
accent
#43AEE4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F8140

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

Preview Lab → · Contrast checker → · Palette generator →

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