#1F6F2C#1F6F2C

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

Color values

HEX#1F6F2C
RGBrgb(31, 111, 44)
HSLhsl(130, 56%, 28%)
HSVhsv(130, 72%, 44%)
CMYKcmyk(72.1%, 0%, 60.4%, 56.5%)
CIE-LABlab(40.96, -38.95, 30.03)
CIE-LCHlch(40.96, 49.18, 142.37°)
OKLaboklab(47.81% -0.1051 0.0712)
OKLCHoklch(47.81% 0.127 145.9)
XYZxyz(6.7037, 11.8413, 4.3147)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F2C #6F1F62
analogous
#3A6F1F #1F6F2C #1F6F54
triadic
#1F6F2C #2C1F6F #6F2C1F
tetradic
#1F6F2C #1F3A6F #6F1F62 #6F541F
square
#1F6F2C #1F3A6F #6F1F62 #6F541F
split-complementary
#1F6F2C #541F6F #6F1F3A
monochromatic
#071809 #123F19 #1F6F2C #2C9F3F #3FC956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6F2C#FFFFFF#000000##FFFFFF
##1F6F2C1.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)
#716525
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#026C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f2c;
/* rgb */ color: rgb(31, 111, 44);
/* oklch */ color: oklch(47.8% 0.127 145.9);
Tailwind
colors: {
  custom: {
    50: '#679967',
    500: '#1f6f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f2c;
$custom-light: #679967;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f2c",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 129.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.12699,
    "h": 145.9
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#1F6F2C
secondary
#A34794
accent
#48C7E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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