#1F6F2D#1F6F2D

#1F6F2D is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.126 H 146.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#1F6F2D
RGBrgb(31, 111, 45)
HSLhsl(131, 56%, 28%)
HSVhsv(131, 72%, 44%)
CMYKcmyk(72.1%, 0%, 59.5%, 56.5%)
CIE-LABlab(40.98, -38.80, 29.52)
CIE-LCHlch(40.98, 48.76, 142.73°)
OKLaboklab(47.82% -0.1047 0.0702)
OKLCHoklch(47.82% 0.126 146.2)
XYZxyz(6.7227, 11.8489, 4.4149)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F2D #6F1F61
analogous
#396F1F #1F6F2D #1F6F55
triadic
#1F6F2D #2D1F6F #6F2D1F
tetradic
#1F6F2D #1F396F #6F1F61 #6F551F
square
#1F6F2D #1F396F #6F1F61 #6F551F
split-complementary
#1F6F2D #551F6F #6F1F39
monochromatic
#07180A #123F1A #1F6F2D #2C9F40 #3FC957

Accessibility & contrast

On white

6.23
#1F6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#1F6F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F2D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F2D#FFFFFF#000000##FFFFFF
##1F6F2D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#016C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f2d;
/* rgb */ color: rgb(31, 111, 45);
/* oklch */ color: oklch(47.8% 0.126 146.2);
Tailwind
colors: {
  custom: {
    50: '#679968',
    500: '#1f6f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f2d;
$custom-light: #679968;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f2d",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 130.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.12608,
    "h": 146.2
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#1F6F2D
secondary
#A34793
accent
#48C5E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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