#1F983D#1F983D

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

Color values

HEX#1F983D
RGBrgb(31, 152, 61)
HSLhsl(135, 66%, 36%)
HSVhsv(135, 80%, 60%)
CMYKcmyk(79.6%, 0%, 59.9%, 40.4%)
CIE-LABlab(55.16, -51.54, 38.21)
CIE-LCHlch(55.16, 64.16, 143.44°)
OKLaboklab(59.63% -0.1386 0.0904)
OKLCHoklch(59.63% 0.166 146.9)
XYZxyz(12.6347, 23.0832, 8.2036)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F983D #981F7A
analogous
#3D981F #1F983D #1F9879
triadic
#1F983D #3D1F98 #983D1F
tetradic
#1F983D #1F3D98 #981F7A #98791F
square
#1F983D #1F3D98 #981F7A #98791F
split-complementary
#1F983D #791F98 #981F3D
monochromatic
#0A3214 #156529 #1F983D #29CB51 #55DC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F983D#FFFFFF#000000##000000
##1F983D1.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)
#9A8A34
Deuteranopia (green-blind)
#8D8044
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f983d;
/* rgb */ color: rgb(31, 152, 61);
/* oklch */ color: oklch(59.6% 0.166 146.9);
Tailwind
colors: {
  custom: {
    50: '#70b775',
    500: '#1f983d',
    950: '#000000',
  },
}
SCSS
$custom: #1f983d;
$custom-light: #70b775;
$custom-dark: #000000;
JSON
{
  "hex": "#1f983d",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 61
  },
  "hsl": {
    "h": 134.876,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.16552,
    "h": 146.9
  },
  "luminance": 0.23085
}

Semantic roles & 50–950 ramp

primary
#1F983D
secondary
#C053A5
accent
#3FBFE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F983D

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

Preview Lab → · Contrast checker → · Palette generator →

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