#1F8D3E#1F8D3E

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

Color values

HEX#1F8D3E
RGBrgb(31, 141, 62)
HSLhsl(137, 64%, 34%)
HSVhsv(137, 78%, 55%)
CMYKcmyk(78%, 0%, 56%, 44.7%)
CIE-LABlab(51.48, -47.52, 33.36)
CIE-LCHlch(51.48, 58.06, 144.93°)
OKLaboklab(56.59% -0.1278 0.0799)
OKLCHoklch(56.59% 0.151 148)
XYZxyz(10.9586, 19.6876, 7.7790)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D3E #8D1F6E
analogous
#378D1F #1F8D3E #1F8D75
triadic
#1F8D3E #3E1F8D #8D3E1F
tetradic
#1F8D3E #1F378D #8D1F6E #8D751F
square
#1F8D3E #1F378D #8D1F6E #8D751F
split-complementary
#1F8D3E #751F8D #8D1F37
monochromatic
#092912 #145B28 #1F8D3E #2ABF54 #4ED875

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D3E#FFFFFF#000000##000000
##1F8D3E1.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)
#8E8037
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d3e;
/* rgb */ color: rgb(31, 141, 62);
/* oklch */ color: oklch(56.6% 0.151 148.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf75',
    500: '#1f8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d3e;
$custom-light: #6eaf75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d3e",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 136.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.15068,
    "h": 148
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#1F8D3E
secondary
#BB4D9C
accent
#41B8E7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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