#1F983C#1F983C

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

Color values

HEX#1F983C
RGBrgb(31, 152, 60)
HSLhsl(134, 66%, 36%)
HSVhsv(134, 80%, 60%)
CMYKcmyk(79.6%, 0%, 60.5%, 40.4%)
CIE-LABlab(55.15, -51.67, 38.68)
CIE-LCHlch(55.15, 64.54, 143.18°)
OKLaboklab(59.62% -0.139 0.0913)
OKLCHoklch(59.62% 0.166 146.7)
XYZxyz(12.6080, 23.0725, 8.0630)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F983C #981F7B
analogous
#3E981F #1F983C #1F9878
triadic
#1F983C #3C1F98 #983C1F
tetradic
#1F983C #1F3E98 #981F7B #98781F
square
#1F983C #1F3E98 #981F7B #98781F
split-complementary
#1F983C #781F98 #981F3E
monochromatic
#0A3214 #156528 #1F983C #29CB50 #55DC75

Accessibility & contrast

On white

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

On black

5.61
#1F983C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F983C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F983C#FFFFFF#000000##000000
##1F983C1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A32
Deuteranopia (green-blind)
#8D8044
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f983c;
/* rgb */ color: rgb(31, 152, 60);
/* oklch */ color: oklch(59.6% 0.166 146.7);
Tailwind
colors: {
  custom: {
    50: '#70b775',
    500: '#1f983c',
    950: '#000000',
  },
}
SCSS
$custom: #1f983c;
$custom-light: #70b775;
$custom-dark: #000000;
JSON
{
  "hex": "#1f983c",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 60
  },
  "hsl": {
    "h": 134.38,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.16635,
    "h": 146.7
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#1F983C
secondary
#C053A6
accent
#3FC0E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F983C

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

Preview Lab → · Contrast checker → · Palette generator →

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