#1F8F37#1F8F37

#1F8F37 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.159 H 146.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F8F37
RGBrgb(31, 143, 55)
HSLhsl(133, 64%, 34%)
HSVhsv(133, 78%, 56%)
CMYKcmyk(78.3%, 0%, 61.5%, 43.9%)
CIE-LABlab(52.07, -49.20, 37.51)
CIE-LCHlch(52.07, 61.87, 142.68°)
OKLaboklab(57.05% -0.1325 0.0884)
OKLCHoklch(57.05% 0.159 146.3)
XYZxyz(11.0763, 20.2108, 6.9310)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F37 #8F1F77
analogous
#3F8F1F #1F8F37 #1F8F6F
triadic
#1F8F37 #371F8F #8F371F
tetradic
#1F8F37 #1F3F8F #8F1F77 #8F6F1F
square
#1F8F37 #1F3F8F #8F1F77 #8F6F1F
split-complementary
#1F8F37 #6F1F8F #8F1F3F
monochromatic
#092A10 #145D24 #1F8F37 #2AC14A #4FD96D

Accessibility & contrast

On white

4.16
#1F8F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#1F8F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F37
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F37#FFFFFF#000000##000000
##1F8F371.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812E
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f37;
/* rgb */ color: rgb(31, 143, 55);
/* oklch */ color: oklch(57.1% 0.159 146.3);
Tailwind
colors: {
  custom: {
    50: '#6eb171',
    500: '#1f8f37',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f37;
$custom-light: #6eb171;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f37",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 132.857,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.15928,
    "h": 146.3
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#1F8F37
secondary
#BC4EA4
accent
#40C4E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F8F37

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

Preview Lab → · Contrast checker → · Palette generator →

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