#1F983F#1F983F

#1F983F is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.164 H 147.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#1F983F
RGBrgb(31, 152, 63)
HSLhsl(136, 66%, 36%)
HSVhsv(136, 80%, 60%)
CMYKcmyk(79.6%, 0%, 58.6%, 40.4%)
CIE-LABlab(55.18, -51.26, 37.27)
CIE-LCHlch(55.18, 63.38, 143.98°)
OKLaboklab(59.66% -0.1378 0.0885)
OKLCHoklch(59.66% 0.164 147.3)
XYZxyz(12.6895, 23.1051, 8.4926)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F983F #981F78
analogous
#3B981F #1F983F #1F987B
triadic
#1F983F #3F1F98 #983F1F
tetradic
#1F983F #1F3B98 #981F78 #987B1F
square
#1F983F #1F3B98 #981F78 #987B1F
split-complementary
#1F983F #7B1F98 #981F3B
monochromatic
#0A3215 #15652A #1F983F #29CB54 #55DC79

Accessibility & contrast

On white

3.74
#1F983F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#1F983F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F983F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F983F#FFFFFF#000000##000000
##1F983F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A36
Deuteranopia (green-blind)
#8C8046
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f983f;
/* rgb */ color: rgb(31, 152, 63);
/* oklch */ color: oklch(59.7% 0.164 147.3);
Tailwind
colors: {
  custom: {
    50: '#70b777',
    500: '#1f983f',
    950: '#000000',
  },
}
SCSS
$custom: #1f983f;
$custom-light: #70b777;
$custom-dark: #000000;
JSON
{
  "hex": "#1f983f",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 63
  },
  "hsl": {
    "h": 135.868,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.16383,
    "h": 147.3
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#1F983F
secondary
#C053A3
accent
#3FBCE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F983F

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

Preview Lab → · Contrast checker → · Palette generator →

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