#1F8241#1F8241

#1F8241 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.133 H 150.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8241
RGBrgb(31, 130, 65)
HSLhsl(141, 61%, 32%)
HSVhsv(141, 76%, 51%)
CMYKcmyk(76.2%, 0%, 50%, 49%)
CIE-LABlab(47.80, -42.95, 27.25)
CIE-LCHlch(47.80, 50.87, 147.60°)
OKLaboklab(53.55% -0.1155 0.0664)
OKLCHoklch(53.55% 0.133 150.1)
XYZxyz(9.5011, 16.6371, 7.7106)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8241 #821F60
analogous
#2F821F #1F8241 #1F8273
triadic
#1F8241 #411F82 #82411F
tetradic
#1F8241 #1F2F82 #821F60 #82731F
square
#1F8241 #1F2F82 #821F60 #82731F
split-complementary
#1F8241 #731F82 #821F2F
monochromatic
#071F10 #135128 #1F8241 #2BB35A #48D378

Accessibility & contrast

On white

4.85
#1F8241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8241
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8241#FFFFFF#000000##FFFFFF
##1F82411.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763C
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8241;
/* rgb */ color: rgb(31, 130, 65);
/* oklch */ color: oklch(53.6% 0.133 150.1);
Tailwind
colors: {
  custom: {
    50: '#6ba777',
    500: '#1f8241',
    950: '#000000',
  },
}
SCSS
$custom: #1f8241;
$custom-light: #6ba777;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8241",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 65
  },
  "hsl": {
    "h": 140.606,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.13323,
    "h": 150.1
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#1F8241
secondary
#B5488F
accent
#43ADE5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1F8241

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

Preview Lab → · Contrast checker → · Palette generator →

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