#1F8D3F#1F8D3F

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

Color values

HEX#1F8D3F
RGBrgb(31, 141, 63)
HSLhsl(137, 64%, 34%)
HSVhsv(137, 78%, 55%)
CMYKcmyk(78%, 0%, 55.3%, 44.7%)
CIE-LABlab(51.49, -47.36, 32.87)
CIE-LCHlch(51.49, 57.65, 145.24°)
OKLaboklab(56.6% -0.1273 0.0789)
OKLCHoklch(56.6% 0.15 148.2)
XYZxyz(10.9863, 19.6986, 7.9249)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D3F #8D1F6D
analogous
#368D1F #1F8D3F #1F8D76
triadic
#1F8D3F #3F1F8D #8D3F1F
tetradic
#1F8D3F #1F368D #8D1F6D #8D761F
square
#1F8D3F #1F368D #8D1F6D #8D761F
split-complementary
#1F8D3F #761F8D #8D1F36
monochromatic
#092912 #145B29 #1F8D3F #2ABF55 #4ED876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D3F#FFFFFF#000000##000000
##1F8D3F1.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)
#8E8038
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d3f;
/* rgb */ color: rgb(31, 141, 63);
/* oklch */ color: oklch(56.6% 0.150 148.2);
Tailwind
colors: {
  custom: {
    50: '#6eaf76',
    500: '#1f8d3f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d3f;
$custom-light: #6eaf76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d3f",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 137.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.14978,
    "h": 148.2
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#1F8D3F
secondary
#BB4D9B
accent
#41B7E7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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