#1F8A4A#1F8A4A

#1F8A4A is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.135 H 151.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8A4A
RGBrgb(31, 138, 74)
HSLhsl(144, 63%, 33%)
HSVhsv(144, 78%, 54%)
CMYKcmyk(77.5%, 0%, 46.4%, 45.9%)
CIE-LABlab(50.64, -44.41, 26.00)
CIE-LCHlch(50.64, 51.46, 149.66°)
OKLaboklab(55.95% -0.1194 0.0639)
OKLCHoklch(55.95% 0.135 151.8)
XYZxyz(10.8886, 18.9614, 9.5633)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A4A #8A1F5F
analogous
#298A1F #1F8A4A #1F8A7F
triadic
#1F8A4A #4A1F8A #8A4A1F
tetradic
#1F8A4A #1F298A #8A1F5F #8A7F1F
square
#1F8A4A #1F298A #8A1F5F #8A7F1F
split-complementary
#1F8A4A #7F1F8A #8A1F29
monochromatic
#092614 #14582F #1F8A4A #2ABC65 #4CD784

Accessibility & contrast

On white

4.38
#1F8A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#1F8A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A4A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A4A#FFFFFF#000000##000000
##1F8A4A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E45
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a4a;
/* rgb */ color: rgb(31, 138, 74);
/* oklch */ color: oklch(55.9% 0.135 151.8);
Tailwind
colors: {
  custom: {
    50: '#6cad7d',
    500: '#1f8a4a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a4a;
$custom-light: #6cad7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a4a",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 144.112,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.13545,
    "h": 151.8
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#1F8A4A
secondary
#BA4B8D
accent
#41A4E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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