#1F8F36#1F8F36

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

Color values

HEX#1F8F36
RGBrgb(31, 143, 54)
HSLhsl(132, 64%, 34%)
HSVhsv(132, 78%, 56%)
CMYKcmyk(78.3%, 0%, 62.2%, 43.9%)
CIE-LABlab(52.06, -49.33, 37.98)
CIE-LCHlch(52.06, 62.26, 142.41°)
OKLaboklab(57.04% -0.1329 0.0893)
OKLCHoklch(57.04% 0.16 146.1)
XYZxyz(11.0526, 20.2013, 6.8060)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F36 #8F1F78
analogous
#408F1F #1F8F36 #1F8F6E
triadic
#1F8F36 #361F8F #8F361F
tetradic
#1F8F36 #1F408F #8F1F78 #8F6E1F
square
#1F8F36 #1F408F #8F1F78 #8F6E1F
split-complementary
#1F8F36 #6E1F8F #8F1F40
monochromatic
#092A10 #145D23 #1F8F36 #2AC149 #4FD96C

Accessibility & contrast

On white

4.17
#1F8F36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8F36#FFFFFF#000000##000000
##1F8F361.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812C
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f36;
/* rgb */ color: rgb(31, 143, 54);
/* oklch */ color: oklch(57.0% 0.160 146.1);
Tailwind
colors: {
  custom: {
    50: '#6eb170',
    500: '#1f8f36',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f36;
$custom-light: #6eb170;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f36",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 132.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.16011,
    "h": 146.1
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

primary
#1F8F36
secondary
#BC4EA5
accent
#40C5E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F8F36

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

Preview Lab → · Contrast checker → · Palette generator →

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