#1F8A50#1F8A50

#1F8A50 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.130 H 154.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F8A50
RGBrgb(31, 138, 80)
HSLhsl(147, 63%, 33%)
HSVhsv(147, 78%, 54%)
CMYKcmyk(77.5%, 0%, 42%, 45.9%)
CIE-LABlab(50.74, -43.28, 22.84)
CIE-LCHlch(50.74, 48.93, 152.18°)
OKLaboklab(56.06% -0.1166 0.0567)
OKLCHoklch(56.06% 0.13 154)
XYZxyz(11.1005, 19.0461, 10.6791)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A50 #8A1F59
analogous
#238A1F #1F8A50 #1F8A85
triadic
#1F8A50 #501F8A #8A501F
tetradic
#1F8A50 #1F238A #8A1F59 #8A851F
square
#1F8A50 #1F238A #8A1F59 #8A851F
split-complementary
#1F8A50 #851F8A #8A1F23
monochromatic
#092616 #145833 #1F8A50 #2ABC6D #4CD78C

Accessibility & contrast

On white

4.37
#1F8A50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#1F8A50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A50
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A50#FFFFFF#000000##000000
##1F8A501.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4C
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a50;
/* rgb */ color: rgb(31, 138, 80);
/* oklch */ color: oklch(56.1% 0.130 154.0);
Tailwind
colors: {
  custom: {
    50: '#6cad81',
    500: '#1f8a50',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a50;
$custom-light: #6cad81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a50",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 147.477,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.12964,
    "h": 154
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#1F8A50
secondary
#BA4B87
accent
#419BE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8A50

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

Preview Lab → · Contrast checker → · Palette generator →

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