#1F9D3F#1F9D3F

#1F9D3F is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.0% C 0.170 H 146.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#1F9D3F
RGBrgb(31, 157, 63)
HSLhsl(135, 67%, 37%)
HSVhsv(135, 80%, 62%)
CMYKcmyk(80.3%, 0%, 59.9%, 38.4%)
CIE-LABlab(56.84, -52.99, 39.22)
CIE-LCHlch(56.84, 65.92, 143.49°)
OKLaboklab(61.04% -0.1425 0.0928)
OKLCHoklch(61.04% 0.17 146.9)
XYZxyz(13.5182, 24.7625, 8.7688)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D3F #9D1F7D
analogous
#3E9D1F #1F9D3F #1F9D7E
triadic
#1F9D3F #3F1F9D #9D3F1F
tetradic
#1F9D3F #1F3E9D #9D1F7D #9D7E1F
square
#1F9D3F #1F3E9D #9D1F7D #9D7E1F
split-complementary
#1F9D3F #7E1F9D #9D1F3E
monochromatic
#0B3716 #156A2A #1F9D3F #29D054 #58DE7A

Accessibility & contrast

On white

3.53
#1F9D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#1F9D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D3F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D3F#FFFFFF#000000##000000
##1F9D3F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E35
Deuteranopia (green-blind)
#918547
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d3f;
/* rgb */ color: rgb(31, 157, 63);
/* oklch */ color: oklch(61.0% 0.170 146.9);
Tailwind
colors: {
  custom: {
    50: '#72bb77',
    500: '#1f9d3f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d3f;
$custom-light: #72bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d3f",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 63
  },
  "hsl": {
    "h": 135.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.17005,
    "h": 146.9
  },
  "luminance": 0.24764
}

Semantic roles & 50–950 ramp

primary
#1F9D3F
secondary
#C256A6
accent
#3EBEEA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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