#1F9D4F#1F9D4F

#1F9D4F is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.156 H 150.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1F9D4F
RGBrgb(31, 157, 79)
HSLhsl(143, 67%, 37%)
HSVhsv(143, 80%, 62%)
CMYKcmyk(80.3%, 0%, 49.7%, 38.4%)
CIE-LABlab(57.04, -50.59, 31.47)
CIE-LCHlch(57.04, 59.57, 148.12°)
OKLaboklab(61.27% -0.1358 0.0766)
OKLCHoklch(61.27% 0.156 150.6)
XYZxyz(14.0321, 24.9681, 11.4754)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D4F #9D1F6D
analogous
#2E9D1F #1F9D4F #1F9D8E
triadic
#1F9D4F #4F1F9D #9D4F1F
tetradic
#1F9D4F #1F2E9D #9D1F6D #9D8E1F
square
#1F9D4F #1F2E9D #9D1F6D #9D8E1F
split-complementary
#1F9D4F #8E1F9D #9D1F2E
monochromatic
#0B371C #156A35 #1F9D4F #29D069 #58DE8B

Accessibility & contrast

On white

3.50
#1F9D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9D4F#FFFFFF#000000##000000
##1F9D4F1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F49
Deuteranopia (green-blind)
#908555
Tritanopia (blue-blind)
#009A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9d4f;
/* rgb */ color: rgb(31, 157, 79);
/* oklch */ color: oklch(61.3% 0.156 150.6);
Tailwind
colors: {
  custom: {
    50: '#71bb82',
    500: '#1f9d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d4f;
$custom-light: #71bb82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d4f",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 79
  },
  "hsl": {
    "h": 142.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.15595,
    "h": 150.6
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#1F9D4F
secondary
#C25699
accent
#3EA8EA
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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