#1F8341#1F8341

#1F8341 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.135 H 150.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8341
RGBrgb(31, 131, 65)
HSLhsl(140, 62%, 32%)
HSVhsv(140, 76%, 51%)
CMYKcmyk(76.3%, 0%, 50.4%, 48.6%)
CIE-LABlab(48.14, -43.33, 27.68)
CIE-LCHlch(48.14, 51.42, 147.43°)
OKLaboklab(53.83% -0.1165 0.0674)
OKLCHoklch(53.83% 0.135 150)
XYZxyz(9.6347, 16.9044, 7.7551)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8341 #831F61
analogous
#2F831F #1F8341 #1F8373
triadic
#1F8341 #411F83 #83411F
tetradic
#1F8341 #1F2F83 #831F61 #83731F
square
#1F8341 #1F2F83 #831F61 #83731F
split-complementary
#1F8341 #731F83 #831F2F
monochromatic
#082010 #135228 #1F8341 #2BB45A #49D478

Accessibility & contrast

On white

4.79
#1F8341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F8341 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8341
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8341#FFFFFF#000000##FFFFFF
##1F83411.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773C
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8341;
/* rgb */ color: rgb(31, 131, 65);
/* oklch */ color: oklch(53.8% 0.135 150.0);
Tailwind
colors: {
  custom: {
    50: '#6ba877',
    500: '#1f8341',
    950: '#000000',
  },
}
SCSS
$custom: #1f8341;
$custom-light: #6ba877;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8341",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 140.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.13459,
    "h": 150
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#1F8341
secondary
#B64890
accent
#43AEE5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F8341

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

Preview Lab → · Contrast checker → · Palette generator →

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