#1F8640#1F8640

#1F8640 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.140 H 149.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F8640
RGBrgb(31, 134, 64)
HSLhsl(139, 62%, 32%)
HSVhsv(139, 77%, 53%)
CMYKcmyk(76.9%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.14, -44.63, 29.47)
CIE-LCHlch(49.14, 53.48, 146.57°)
OKLaboklab(54.66% -0.12 0.0714)
OKLCHoklch(54.66% 0.14 149.3)
XYZxyz(10.0148, 17.7105, 7.7402)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8640 #861F65
analogous
#32861F #1F8640 #1F8673
triadic
#1F8640 #401F86 #86401F
tetradic
#1F8640 #1F3286 #861F65 #86731F
square
#1F8640 #1F3286 #861F65 #86731F
split-complementary
#1F8640 #731F86 #861F32
monochromatic
#082311 #145428 #1F8640 #2AB858 #4AD577

Accessibility & contrast

On white

4.62
#1F8640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8640
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8640#FFFFFF#000000##FFFFFF
##1F86401.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8640;
/* rgb */ color: rgb(31, 134, 64);
/* oklch */ color: oklch(54.7% 0.140 149.3);
Tailwind
colors: {
  custom: {
    50: '#6caa76',
    500: '#1f8640',
    950: '#000000',
  },
}
SCSS
$custom: #1f8640;
$custom-light: #6caa76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8640",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 139.223,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.1396,
    "h": 149.3
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#1F8640
secondary
#B84994
accent
#42B1E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F8640

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

Preview Lab → · Contrast checker → · Palette generator →

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