#1F9D4E#1F9D4E

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

Color values

HEX#1F9D4E
RGBrgb(31, 157, 78)
HSLhsl(142, 67%, 37%)
HSVhsv(142, 80%, 62%)
CMYKcmyk(80.3%, 0%, 50.3%, 38.4%)
CIE-LABlab(57.03, -50.75, 31.97)
CIE-LCHlch(57.03, 59.98, 147.79°)
OKLaboklab(61.25% -0.1363 0.0777)
OKLCHoklch(61.25% 0.157 150.3)
XYZxyz(13.9960, 24.9536, 11.2851)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D4E #9D1F6E
analogous
#2F9D1F #1F9D4E #1F9D8D
triadic
#1F9D4E #4E1F9D #9D4E1F
tetradic
#1F9D4E #1F2F9D #9D1F6E #9D8D1F
square
#1F9D4E #1F2F9D #9D1F6E #9D8D1F
split-complementary
#1F9D4E #8D1F9D #9D1F2F
monochromatic
#0B371B #156A35 #1F9D4E #29D067 #58DE8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9D4E#FFFFFF#000000##000000
##1F9D4E1.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)
#9E8F47
Deuteranopia (green-blind)
#908554
Tritanopia (blue-blind)
#009A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9d4e;
/* rgb */ color: rgb(31, 157, 78);
/* oklch */ color: oklch(61.3% 0.157 150.3);
Tailwind
colors: {
  custom: {
    50: '#71bb81',
    500: '#1f9d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d4e;
$custom-light: #71bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d4e",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 142.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.15687,
    "h": 150.3
  },
  "luminance": 0.24955
}

Semantic roles & 50–950 ramp

primary
#1F9D4E
secondary
#C2569A
accent
#3EAAEA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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