#1F6C2E#1F6C2E

#1F6C2E is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.121 H 146.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#1F6C2E
RGBrgb(31, 108, 46)
HSLhsl(132, 55%, 27%)
HSVhsv(132, 71%, 42%)
CMYKcmyk(71.3%, 0%, 57.4%, 57.6%)
CIE-LABlab(39.94, -37.48, 27.76)
CIE-LCHlch(39.94, 46.64, 143.47°)
OKLaboklab(46.97% -0.1011 0.0664)
OKLCHoklch(46.97% 0.121 146.7)
XYZxyz(6.4203, 11.2130, 4.4102)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C2E #6C1F5D
analogous
#376C1F #1F6C2E #1F6C54
triadic
#1F6C2E #2E1F6C #6C2E1F
tetradic
#1F6C2E #1F376C #6C1F5D #6C541F
square
#1F6C2E #1F376C #6C1F5D #6C541F
split-complementary
#1F6C2E #541F6C #6C1F37
monochromatic
#07180A #113C1A #1F6C2E #2D9C42 #3EC859

Accessibility & contrast

On white

6.48
#1F6C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#1F6C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C2E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C2E#FFFFFF#000000##FFFFFF
##1F6C2E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6228
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#03695E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6c2e;
/* rgb */ color: rgb(31, 108, 46);
/* oklch */ color: oklch(47.0% 0.121 146.7);
Tailwind
colors: {
  custom: {
    50: '#669768',
    500: '#1f6c2e',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c2e;
$custom-light: #669768;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c2e",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 46
  },
  "hsl": {
    "h": 131.688,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46966,
    "c": 0.12097,
    "h": 146.7
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#1F6C2E
secondary
#A0478F
accent
#49C2DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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