#1F6F40#1F6F40

#1F6F40 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.107 H 153.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#1F6F40
RGBrgb(31, 111, 64)
HSLhsl(145, 56%, 28%)
HSVhsv(145, 72%, 44%)
CMYKcmyk(72.1%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.26, -35.52, 19.41)
CIE-LCHlch(41.26, 40.47, 151.35°)
OKLaboklab(48.15% -0.0958 0.0482)
OKLCHoklch(48.15% 0.107 153.3)
XYZxyz(7.1743, 12.0296, 6.7933)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F40 #6F1F4E
analogous
#266F1F #1F6F40 #1F6F68
triadic
#1F6F40 #401F6F #6F401F
tetradic
#1F6F40 #1F266F #6F1F4E #6F681F
square
#1F6F40 #1F266F #6F1F4E #6F681F
split-complementary
#1F6F40 #681F6F #6F1F26
monochromatic
#07180E #123F24 #1F6F40 #2C9F5C #3FC978

Accessibility & contrast

On white

6.17
#1F6F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#1F6F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F40
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F40#FFFFFF#000000##FFFFFF
##1F6F401.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F663D
Deuteranopia (green-blind)
#655E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f40;
/* rgb */ color: rgb(31, 111, 64);
/* oklch */ color: oklch(48.2% 0.107 153.3);
Tailwind
colors: {
  custom: {
    50: '#669975',
    500: '#1f6f40',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f40;
$custom-light: #669975;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f40",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 144.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.1073,
    "h": 153.3
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#1F6F40
secondary
#A3477D
accent
#48A1E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1F6F40

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

Preview Lab → · Contrast checker → · Palette generator →

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