#1F6D2D#1F6D2D

#1F6D2D is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.123 H 146.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#1F6D2D
RGBrgb(31, 109, 45)
HSLhsl(131, 56%, 27%)
HSVhsv(131, 72%, 43%)
CMYKcmyk(71.6%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.27, -38.02, 28.69)
CIE-LCHlch(40.27, 47.63, 142.96°)
OKLaboklab(47.24% -0.1026 0.0684)
OKLCHoklch(47.24% 0.123 146.3)
XYZxyz(6.5069, 11.4173, 4.3430)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D2D #6D1F5F
analogous
#386D1F #1F6D2D #1F6D54
triadic
#1F6D2D #2D1F6D #6D2D1F
tetradic
#1F6D2D #1F386D #6D1F5F #6D541F
square
#1F6D2D #1F386D #6D1F5F #6D541F
split-complementary
#1F6D2D #541F6D #6D1F38
monochromatic
#07180A #113D19 #1F6D2D #2D9D41 #3EC857

Accessibility & contrast

On white

6.40
#1F6D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#1F6D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D2D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D2D#FFFFFF#000000##FFFFFF
##1F6D2D1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6327
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#036A5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6d2d;
/* rgb */ color: rgb(31, 109, 45);
/* oklch */ color: oklch(47.2% 0.123 146.3);
Tailwind
colors: {
  custom: {
    50: '#669868',
    500: '#1f6d2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d2d;
$custom-light: #669868;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d2d",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 130.769,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.12331,
    "h": 146.3
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#1F6D2D
secondary
#A14791
accent
#49C4DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #1F6D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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