#1F6F2E#1F6F2E

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

Color values

HEX#1F6F2E
RGBrgb(31, 111, 46)
HSLhsl(131, 56%, 28%)
HSVhsv(131, 72%, 44%)
CMYKcmyk(72.1%, 0%, 58.6%, 56.5%)
CIE-LABlab(40.99, -38.66, 29.02)
CIE-LCHlch(40.99, 48.34, 143.11°)
OKLaboklab(47.84% -0.1043 0.0692)
OKLCHoklch(47.84% 0.125 146.4)
XYZxyz(6.7422, 11.8567, 4.5175)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F2E #6F1F60
analogous
#386F1F #1F6F2E #1F6F56
triadic
#1F6F2E #2E1F6F #6F2E1F
tetradic
#1F6F2E #1F386F #6F1F60 #6F561F
square
#1F6F2E #1F386F #6F1F60 #6F561F
split-complementary
#1F6F2E #561F6F #6F1F38
monochromatic
#07180A #123F1A #1F6F2E #2C9F42 #3FC959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6F2E#FFFFFF#000000##FFFFFF
##1F6F2E1.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)
#716528
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#006C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f2e;
/* rgb */ color: rgb(31, 111, 46);
/* oklch */ color: oklch(47.8% 0.125 146.4);
Tailwind
colors: {
  custom: {
    50: '#679969',
    500: '#1f6f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f2e;
$custom-light: #679969;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f2e",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 131.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.12516,
    "h": 146.4
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#1F6F2E
secondary
#A34792
accent
#48C3E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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