#1F8339#1F8339

#1F8339 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.142 H 147.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F8339
RGBrgb(31, 131, 57)
HSLhsl(136, 62%, 32%)
HSVhsv(136, 76%, 51%)
CMYKcmyk(76.3%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.03, -44.61, 31.75)
CIE-LCHlch(48.03, 54.76, 144.56°)
OKLaboklab(53.71% -0.12 0.076)
OKLCHoklch(53.71% 0.142 147.7)
XYZxyz(9.4192, 16.8182, 6.6199)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8339 #831F69
analogous
#37831F #1F8339 #1F836B
triadic
#1F8339 #391F83 #83391F
tetradic
#1F8339 #1F3783 #831F69 #836B1F
square
#1F8339 #1F3783 #831F69 #836B1F
split-complementary
#1F8339 #6B1F83 #831F37
monochromatic
#08200E #135223 #1F8339 #2BB44F #49D46D

Accessibility & contrast

On white

4.81
#1F8339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F8339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8339
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8339#FFFFFF#000000##FFFFFF
##1F83391.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847732
Deuteranopia (green-blind)
#796F3F
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8339;
/* rgb */ color: rgb(31, 131, 57);
/* oklch */ color: oklch(53.7% 0.142 147.7);
Tailwind
colors: {
  custom: {
    50: '#6ba871',
    500: '#1f8339',
    950: '#000000',
  },
}
SCSS
$custom: #1f8339;
$custom-light: #6ba871;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8339",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 135.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.14208,
    "h": 147.7
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#1F8339
secondary
#B64899
accent
#43BBE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F8339

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

Preview Lab → · Contrast checker → · Palette generator →

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