#1F8A41#1F8A41

#1F8A41 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.144 H 149.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F8A41
RGBrgb(31, 138, 65)
HSLhsl(139, 63%, 33%)
HSVhsv(139, 78%, 54%)
CMYKcmyk(77.5%, 0%, 52.9%, 45.9%)
CIE-LABlab(50.51, -45.96, 30.63)
CIE-LCHlch(50.51, 55.23, 146.32°)
OKLaboklab(55.8% -0.1235 0.074)
OKLCHoklch(55.8% 0.144 149.1)
XYZxyz(10.6068, 18.8487, 8.0792)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A41 #8A1F68
analogous
#338A1F #1F8A41 #1F8A76
triadic
#1F8A41 #411F8A #8A411F
tetradic
#1F8A41 #1F338A #8A1F68 #8A761F
square
#1F8A41 #1F338A #8A1F68 #8A761F
split-complementary
#1F8A41 #761F8A #8A1F33
monochromatic
#092612 #145829 #1F8A41 #2ABC59 #4CD778

Accessibility & contrast

On white

4.40
#1F8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1F8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A41
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A41#FFFFFF#000000##000000
##1F8A411.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3B
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a41;
/* rgb */ color: rgb(31, 138, 65);
/* oklch */ color: oklch(55.8% 0.144 149.1);
Tailwind
colors: {
  custom: {
    50: '#6dad77',
    500: '#1f8a41',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a41;
$custom-light: #6dad77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a41",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 139.065,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.144,
    "h": 149.1
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#1F8A41
secondary
#BA4B97
accent
#41B2E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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