#1F9A3D#1F9A3D

#1F9A3D is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.168 H 146.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#1F9A3D
RGBrgb(31, 154, 61)
HSLhsl(135, 66%, 36%)
HSVhsv(135, 80%, 60%)
CMYKcmyk(79.9%, 0%, 60.4%, 39.6%)
CIE-LABlab(55.82, -52.22, 38.99)
CIE-LCHlch(55.82, 65.17, 143.25°)
OKLaboklab(60.19% -0.1405 0.0921)
OKLCHoklch(60.19% 0.168 146.8)
XYZxyz(12.9620, 23.7379, 8.3127)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A3D #9A1F7C
analogous
#3F9A1F #1F9A3D #1F9A7B
triadic
#1F9A3D #3D1F9A #9A3D1F
tetradic
#1F9A3D #1F3F9A #9A1F7C #9A7B1F
square
#1F9A3D #1F3F9A #9A1F7C #9A7B1F
split-complementary
#1F9A3D #7B1F9A #9A1F3F
monochromatic
#0A3415 #156729 #1F9A3D #29CD51 #56DD77

Accessibility & contrast

On white

3.65
#1F9A3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#1F9A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A3D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A3D#FFFFFF#000000##000000
##1F9A3D1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C33
Deuteranopia (green-blind)
#8E8245
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9a3d;
/* rgb */ color: rgb(31, 154, 61);
/* oklch */ color: oklch(60.2% 0.168 146.8);
Tailwind
colors: {
  custom: {
    50: '#71b976',
    500: '#1f9a3d',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a3d;
$custom-light: #71b976;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a3d",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 61
  },
  "hsl": {
    "h": 134.634,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.168,
    "h": 146.8
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#1F9A3D
secondary
#C154A6
accent
#3EC0E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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