#1F8348#1F8348

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

Color values

HEX#1F8348
RGBrgb(31, 131, 72)
HSLhsl(145, 62%, 32%)
HSVhsv(145, 76%, 51%)
CMYKcmyk(76.3%, 0%, 45%, 48.6%)
CIE-LABlab(48.25, -42.07, 24.01)
CIE-LCHlch(48.25, 48.44, 150.29°)
OKLaboklab(53.96% -0.1132 0.0592)
OKLCHoklch(53.96% 0.128 152.4)
XYZxyz(9.8502, 16.9906, 8.8900)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8348 #831F5A
analogous
#28831F #1F8348 #1F837A
triadic
#1F8348 #481F83 #83481F
tetradic
#1F8348 #1F2883 #831F5A #837A1F
square
#1F8348 #1F2883 #831F5A #837A1F
split-complementary
#1F8348 #7A1F83 #831F28
monochromatic
#082012 #13522D #1F8348 #2BB463 #49D482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8348#FFFFFF#000000##FFFFFF
##1F83481.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)
#837844
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8348;
/* rgb */ color: rgb(31, 131, 72);
/* oklch */ color: oklch(54.0% 0.128 152.4);
Tailwind
colors: {
  custom: {
    50: '#6ba87c',
    500: '#1f8348',
    950: '#000000',
  },
}
SCSS
$custom: #1f8348;
$custom-light: #6ba87c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8348",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 72
  },
  "hsl": {
    "h": 144.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.1278,
    "h": 152.4
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#1F8348
secondary
#B64889
accent
#43A2E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8348

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

Preview Lab → · Contrast checker → · Palette generator →

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