#1F8B4A#1F8B4A

#1F8B4A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.137 H 151.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8B4A
RGBrgb(31, 139, 74)
HSLhsl(144, 64%, 33%)
HSVhsv(144, 78%, 55%)
CMYKcmyk(77.7%, 0%, 46.8%, 45.5%)
CIE-LABlab(50.98, -44.79, 26.43)
CIE-LCHlch(50.98, 52.01, 149.46°)
OKLaboklab(56.23% -0.1204 0.0649)
OKLCHoklch(56.23% 0.137 151.7)
XYZxyz(11.0328, 19.2497, 9.6113)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B4A #8B1F60
analogous
#2A8B1F #1F8B4A #1F8B80
triadic
#1F8B4A #4A1F8B #8B4A1F
tetradic
#1F8B4A #1F2A8B #8B1F60 #8B801F
square
#1F8B4A #1F2A8B #8B1F60 #8B801F
split-complementary
#1F8B4A #801F8B #8B1F2A
monochromatic
#092715 #14592F #1F8B4A #2ABD65 #4DD784

Accessibility & contrast

On white

4.33
#1F8B4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#1F8B4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B4A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B4A#FFFFFF#000000##000000
##1F8B4A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F45
Deuteranopia (green-blind)
#7F764F
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b4a;
/* rgb */ color: rgb(31, 139, 74);
/* oklch */ color: oklch(56.2% 0.137 151.7);
Tailwind
colors: {
  custom: {
    50: '#6dae7d',
    500: '#1f8b4a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b4a;
$custom-light: #6dae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b4a",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 74
  },
  "hsl": {
    "h": 143.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.13681,
    "h": 151.7
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#1F8B4A
secondary
#BA4C8E
accent
#41A5E7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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