#1F8D3D#1F8D3D

#1F8D3D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.152 H 147.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1F8D3D
RGBrgb(31, 141, 61)
HSLhsl(136, 64%, 34%)
HSVhsv(136, 78%, 55%)
CMYKcmyk(78%, 0%, 56.7%, 44.7%)
CIE-LABlab(51.47, -47.66, 33.85)
CIE-LCHlch(51.47, 58.46, 144.62°)
OKLaboklab(56.57% -0.1282 0.0809)
OKLCHoklch(56.57% 0.152 147.7)
XYZxyz(10.9314, 19.6767, 7.6358)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D3D #8D1F6F
analogous
#388D1F #1F8D3D #1F8D74
triadic
#1F8D3D #3D1F8D #8D3D1F
tetradic
#1F8D3D #1F388D #8D1F6F #8D741F
square
#1F8D3D #1F388D #8D1F6F #8D741F
split-complementary
#1F8D3D #741F8D #8D1F38
monochromatic
#092912 #145B27 #1F8D3D #2ABF53 #4ED874

Accessibility & contrast

On white

4.25
#1F8D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1F8D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D3D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D3D#FFFFFF#000000##000000
##1F8D3D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8035
Deuteranopia (green-blind)
#827743
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d3d;
/* rgb */ color: rgb(31, 141, 61);
/* oklch */ color: oklch(56.6% 0.152 147.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf75',
    500: '#1f8d3d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d3d;
$custom-light: #6eaf75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d3d",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 136.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.15157,
    "h": 147.7
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#1F8D3D
secondary
#BB4D9D
accent
#41BAE7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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