#1F8349#1F8349

#1F8349 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.127 H 152.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F8349
RGBrgb(31, 131, 73)
HSLhsl(145, 62%, 32%)
HSVhsv(145, 76%, 51%)
CMYKcmyk(76.3%, 0%, 44.3%, 48.6%)
CIE-LABlab(48.26, -41.88, 23.48)
CIE-LCHlch(48.26, 48.02, 150.73°)
OKLaboklab(53.98% -0.1128 0.058)
OKLCHoklch(53.98% 0.127 152.8)
XYZxyz(9.8831, 17.0038, 9.0632)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8349 #831F59
analogous
#27831F #1F8349 #1F837B
triadic
#1F8349 #491F83 #83491F
tetradic
#1F8349 #1F2783 #831F59 #837B1F
square
#1F8349 #1F2783 #831F59 #837B1F
split-complementary
#1F8349 #7B1F83 #831F27
monochromatic
#082012 #13522D #1F8349 #2BB465 #49D483

Accessibility & contrast

On white

4.77
#1F8349 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#1F8349 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8349
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8349#FFFFFF#000000##FFFFFF
##1F83491.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837845
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8349;
/* rgb */ color: rgb(31, 131, 73);
/* oklch */ color: oklch(54.0% 0.127 152.8);
Tailwind
colors: {
  custom: {
    50: '#6ba87c',
    500: '#1f8349',
    950: '#000000',
  },
}
SCSS
$custom: #1f8349;
$custom-light: #6ba87c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8349",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 73
  },
  "hsl": {
    "h": 145.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.12682,
    "h": 152.8
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#1F8349
secondary
#B64888
accent
#43A1E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8349

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

Preview Lab → · Contrast checker → · Palette generator →

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