#1F9D4C#1F9D4C

#1F9D4C is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.159 H 149.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1F9D4C
RGBrgb(31, 157, 76)
HSLhsl(141, 67%, 37%)
HSVhsv(141, 80%, 62%)
CMYKcmyk(80.3%, 0%, 51.6%, 38.4%)
CIE-LABlab(57.00, -51.08, 32.96)
CIE-LCHlch(57.00, 60.79, 147.16°)
OKLaboklab(61.22% -0.1371 0.0798)
OKLCHoklch(61.22% 0.159 149.8)
XYZxyz(13.9254, 24.9254, 10.9132)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D4C #9D1F70
analogous
#319D1F #1F9D4C #1F9D8B
triadic
#1F9D4C #4C1F9D #9D4C1F
tetradic
#1F9D4C #1F319D #9D1F70 #9D8B1F
square
#1F9D4C #1F319D #9D1F70 #9D8B1F
split-complementary
#1F9D4C #8B1F9D #9D1F31
monochromatic
#0B371B #156A33 #1F9D4C #29D065 #58DE88

Accessibility & contrast

On white

3.51
#1F9D4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#1F9D4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D4C
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D4C#FFFFFF#000000##000000
##1F9D4C1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F45
Deuteranopia (green-blind)
#908552
Tritanopia (blue-blind)
#009A8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9d4c;
/* rgb */ color: rgb(31, 157, 76);
/* oklch */ color: oklch(61.2% 0.159 149.8);
Tailwind
colors: {
  custom: {
    50: '#71bb80',
    500: '#1f9d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d4c;
$custom-light: #71bb80;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d4c",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 76
  },
  "hsl": {
    "h": 141.429,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.1587,
    "h": 149.8
  },
  "luminance": 0.24927
}

Semantic roles & 50–950 ramp

primary
#1F9D4C
secondary
#C2569B
accent
#3EACEA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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