#1F8137#1F8137

#1F8137 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.141 H 147.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1F8137
RGBrgb(31, 129, 55)
HSLhsl(135, 61%, 31%)
HSVhsv(135, 76%, 51%)
CMYKcmyk(76%, 0%, 57.4%, 49.4%)
CIE-LABlab(47.32, -44.17, 31.93)
CIE-LCHlch(47.32, 54.50, 144.14°)
OKLaboklab(53.11% -0.1189 0.0762)
OKLCHoklch(53.11% 0.141 147.3)
XYZxyz(9.1042, 16.2666, 6.2736)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8137 #811F69
analogous
#38811F #1F8137 #1F8168
triadic
#1F8137 #371F81 #81371F
tetradic
#1F8137 #1F3881 #811F69 #81681F
square
#1F8137 #1F3881 #811F69 #81681F
split-complementary
#1F8137 #681F81 #811F38
monochromatic
#071E0D #135022 #1F8137 #2BB24C #47D36A

Accessibility & contrast

On white

4.94
#1F8137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#1F8137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8137
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8137#FFFFFF#000000##FFFFFF
##1F81371.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837530
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8137;
/* rgb */ color: rgb(31, 129, 55);
/* oklch */ color: oklch(53.1% 0.141 147.3);
Tailwind
colors: {
  custom: {
    50: '#6ba770',
    500: '#1f8137',
    950: '#000000',
  },
}
SCSS
$custom: #1f8137;
$custom-light: #6ba770;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8137",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 134.694,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.14124,
    "h": 147.3
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#1F8137
secondary
#B44899
accent
#43BDE4
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1F8137

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

Preview Lab → · Contrast checker → · Palette generator →

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