#1F983B#1F983B

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

Color values

HEX#1F983B
RGBrgb(31, 152, 59)
HSLhsl(134, 66%, 36%)
HSVhsv(134, 80%, 60%)
CMYKcmyk(79.6%, 0%, 61.2%, 40.4%)
CIE-LABlab(55.14, -51.80, 39.14)
CIE-LCHlch(55.14, 64.93, 142.92°)
OKLaboklab(59.61% -0.1394 0.0923)
OKLCHoklch(59.61% 0.167 146.5)
XYZxyz(12.5818, 23.0620, 7.9251)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F983B #981F7C
analogous
#40981F #1F983B #1F9877
triadic
#1F983B #3B1F98 #983B1F
tetradic
#1F983B #1F4098 #981F7C #98771F
square
#1F983B #1F4098 #981F7C #98771F
split-complementary
#1F983B #771F98 #981F40
monochromatic
#0A3214 #156527 #1F983B #29CB4F #55DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F983B#FFFFFF#000000##000000
##1F983B1.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)
#9A8A31
Deuteranopia (green-blind)
#8D8043
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f983b;
/* rgb */ color: rgb(31, 152, 59);
/* oklch */ color: oklch(59.6% 0.167 146.5);
Tailwind
colors: {
  custom: {
    50: '#70b774',
    500: '#1f983b',
    950: '#000000',
  },
}
SCSS
$custom: #1f983b;
$custom-light: #70b774;
$custom-dark: #000000;
JSON
{
  "hex": "#1f983b",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 59
  },
  "hsl": {
    "h": 133.884,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.16717,
    "h": 146.5
  },
  "luminance": 0.23064
}

Semantic roles & 50–950 ramp

primary
#1F983B
secondary
#C053A7
accent
#3FC2E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F983B

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

Preview Lab → · Contrast checker → · Palette generator →

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