#1F6941#1F6941

#1F6941 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.097 H 155.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#1F6941
RGBrgb(31, 105, 65)
HSLhsl(148, 54%, 27%)
HSVhsv(148, 70%, 41%)
CMYKcmyk(70.5%, 0%, 38.1%, 58.8%)
CIE-LABlab(39.20, -32.73, 16.08)
CIE-LCHlch(39.20, 36.46, 153.83°)
OKLaboklab(46.46% -0.0886 0.0403)
OKLCHoklch(46.46% 0.097 155.5)
XYZxyz(6.5702, 10.7754, 6.7336)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6941 #691F47
analogous
#22691F #1F6941 #1F6966
triadic
#1F6941 #411F69 #69411F
tetradic
#1F6941 #1F2269 #691F47 #69661F
square
#1F6941 #1F2269 #691F47 #69661F
split-complementary
#1F6941 #661F69 #691F22
monochromatic
#07180F #113A24 #1F6941 #2D985E #3DC67C

Accessibility & contrast

On white

6.66
#1F6941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#1F6941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6941
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6941#FFFFFF#000000##FFFFFF
##1F69411.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69603E
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6941;
/* rgb */ color: rgb(31, 105, 65);
/* oklch */ color: oklch(46.5% 0.097 155.5);
Tailwind
colors: {
  custom: {
    50: '#659476',
    500: '#1f6941',
    950: '#000000',
  },
}
SCSS
$custom: #1f6941;
$custom-light: #659476;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6941",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 65
  },
  "hsl": {
    "h": 147.568,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4646,
    "c": 0.09738,
    "h": 155.5
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#1F6941
secondary
#9D4775
accent
#4A9ADE
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F6941

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

Preview Lab → · Contrast checker → · Palette generator →

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