#1F6F2F#1F6F2F

#1F6F2F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.124 H 146.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#1F6F2F
RGBrgb(31, 111, 47)
HSLhsl(132, 56%, 28%)
HSVhsv(132, 72%, 44%)
CMYKcmyk(72.1%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.00, -38.51, 28.51)
CIE-LCHlch(41.00, 47.91, 143.49°)
OKLaboklab(47.85% -0.1039 0.0681)
OKLCHoklch(47.85% 0.124 146.7)
XYZxyz(6.7621, 11.8647, 4.6225)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F2F #6F1F5F
analogous
#376F1F #1F6F2F #1F6F57
triadic
#1F6F2F #2F1F6F #6F2F1F
tetradic
#1F6F2F #1F376F #6F1F5F #6F571F
square
#1F6F2F #1F376F #6F1F5F #6F571F
split-complementary
#1F6F2F #571F6F #6F1F37
monochromatic
#07180A #123F1B #1F6F2F #2C9F43 #3FC95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6F2F#FFFFFF#000000##FFFFFF
##1F6F2F1.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)
#716529
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#006C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f2f;
/* rgb */ color: rgb(31, 111, 47);
/* oklch */ color: oklch(47.9% 0.124 146.7);
Tailwind
colors: {
  custom: {
    50: '#679969',
    500: '#1f6f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f2f;
$custom-light: #679969;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f2f",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4785,
    "c": 0.12422,
    "h": 146.7
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#1F6F2F
secondary
#A34791
accent
#48C1E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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