#1F8439#1F8439

#1F8439 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.143 H 147.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F8439
RGBrgb(31, 132, 57)
HSLhsl(135, 62%, 32%)
HSVhsv(135, 77%, 52%)
CMYKcmyk(76.5%, 0%, 56.8%, 48.2%)
CIE-LABlab(48.37, -44.98, 32.16)
CIE-LCHlch(48.37, 55.30, 144.43°)
OKLaboklab(53.99% -0.121 0.0769)
OKLCHoklch(53.99% 0.143 147.6)
XYZxyz(9.5541, 17.0881, 6.6649)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8439 #841F6A
analogous
#37841F #1F8439 #1F846C
triadic
#1F8439 #391F84 #84391F
tetradic
#1F8439 #1F3784 #841F6A #846C1F
square
#1F8439 #1F3784 #841F6A #846C1F
split-complementary
#1F8439 #6C1F84 #841F37
monochromatic
#08210E #135224 #1F8439 #2BB64E #49D46D

Accessibility & contrast

On white

4.75
#1F8439 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1F8439 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8439
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8439#FFFFFF#000000##FFFFFF
##1F84391.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867832
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8439;
/* rgb */ color: rgb(31, 132, 57);
/* oklch */ color: oklch(54.0% 0.143 147.6);
Tailwind
colors: {
  custom: {
    50: '#6ba971',
    500: '#1f8439',
    950: '#000000',
  },
}
SCSS
$custom: #1f8439;
$custom-light: #6ba971;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8439",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 57
  },
  "hsl": {
    "h": 135.446,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.1434,
    "h": 147.6
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8439

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

Preview Lab → · Contrast checker → · Palette generator →

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