#1F8345#1F8345

#1F8345 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.131 H 151.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8345
RGBrgb(31, 131, 69)
HSLhsl(143, 62%, 32%)
HSVhsv(143, 76%, 51%)
CMYKcmyk(76.3%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.20, -42.63, 25.59)
CIE-LCHlch(48.20, 49.72, 149.02°)
OKLaboklab(53.9% -0.1147 0.0628)
OKLCHoklch(53.9% 0.131 151.3)
XYZxyz(9.7547, 16.9524, 8.3871)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8345 #831F5D
analogous
#2B831F #1F8345 #1F8377
triadic
#1F8345 #451F83 #83451F
tetradic
#1F8345 #1F2B83 #831F5D #83771F
square
#1F8345 #1F2B83 #831F5D #83771F
split-complementary
#1F8345 #771F83 #831F2B
monochromatic
#082011 #13522B #1F8345 #2BB45F #49D47D

Accessibility & contrast

On white

4.78
#1F8345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F8345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8345
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8345#FFFFFF#000000##FFFFFF
##1F83451.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8345;
/* rgb */ color: rgb(31, 131, 69);
/* oklch */ color: oklch(53.9% 0.131 151.3);
Tailwind
colors: {
  custom: {
    50: '#6ba879',
    500: '#1f8345',
    950: '#000000',
  },
}
SCSS
$custom: #1f8345;
$custom-light: #6ba879;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8345",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 142.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.13073,
    "h": 151.3
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#1F8345
secondary
#B6488C
accent
#43A7E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8345

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

Preview Lab → · Contrast checker → · Palette generator →

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