#1F8B50#1F8B50

#1F8B50 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.131 H 153.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F8B50
RGBrgb(31, 139, 80)
HSLhsl(147, 64%, 33%)
HSVhsv(147, 78%, 55%)
CMYKcmyk(77.7%, 0%, 42.4%, 45.5%)
CIE-LABlab(51.08, -43.67, 23.28)
CIE-LCHlch(51.08, 49.48, 151.94°)
OKLaboklab(56.34% -0.1176 0.0578)
OKLCHoklch(56.34% 0.131 153.8)
XYZxyz(11.2446, 19.3344, 10.7271)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B50 #8B1F5A
analogous
#248B1F #1F8B50 #1F8B86
triadic
#1F8B50 #501F8B #8B501F
tetradic
#1F8B50 #1F248B #8B1F5A #8B861F
square
#1F8B50 #1F248B #8B1F5A #8B861F
split-complementary
#1F8B50 #861F8B #8B1F24
monochromatic
#092716 #145933 #1F8B50 #2ABD6D #4DD78C

Accessibility & contrast

On white

4.31
#1F8B50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1F8B50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B50
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B50#FFFFFF#000000##000000
##1F8B501.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4C
Deuteranopia (green-blind)
#7E7654
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b50;
/* rgb */ color: rgb(31, 139, 80);
/* oklch */ color: oklch(56.3% 0.131 153.8);
Tailwind
colors: {
  custom: {
    50: '#6dae82',
    500: '#1f8b50',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b50;
$custom-light: #6dae82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b50",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 80
  },
  "hsl": {
    "h": 147.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.13101,
    "h": 153.8
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#1F8B50
secondary
#BA4C88
accent
#419CE7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8B50

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

Preview Lab → · Contrast checker → · Palette generator →

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