#1F6A2D#1F6A2D

#1F6A2D is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.119 H 146.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#1F6A2D
RGBrgb(31, 106, 45)
HSLhsl(131, 55%, 27%)
HSVhsv(131, 71%, 42%)
CMYKcmyk(70.8%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.22, -36.83, 27.43)
CIE-LCHlch(39.22, 45.92, 143.32°)
OKLaboklab(46.37% -0.0994 0.0656)
OKLCHoklch(46.37% 0.119 146.6)
XYZxyz(6.1923, 10.7882, 4.2381)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A2D #6A1F5C
analogous
#376A1F #1F6A2D #1F6A53
triadic
#1F6A2D #2D1F6A #6A2D1F
tetradic
#1F6A2D #1F376A #6A1F5C #6A531F
square
#1F6A2D #1F376A #6A1F5C #6A531F
split-complementary
#1F6A2D #531F6A #6A1F37
monochromatic
#07180A #113B19 #1F6A2D #2D9941 #3DC657

Accessibility & contrast

On white

6.65
#1F6A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6A2D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A2D#FFFFFF#000000##FFFFFF
##1F6A2D1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6027
Deuteranopia (green-blind)
#625A32
Tritanopia (blue-blind)
#05675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6a2d;
/* rgb */ color: rgb(31, 106, 45);
/* oklch */ color: oklch(46.4% 0.119 146.6);
Tailwind
colors: {
  custom: {
    50: '#669568',
    500: '#1f6a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a2d;
$custom-light: #669568;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a2d",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 131.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.11911,
    "h": 146.6
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#1F6A2D
secondary
#9E478E
accent
#4AC2DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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