#1F6F2A#1F6F2A

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

Color values

HEX#1F6F2A
RGBrgb(31, 111, 42)
HSLhsl(128, 56%, 28%)
HSVhsv(128, 72%, 44%)
CMYKcmyk(72.1%, 0%, 62.2%, 56.5%)
CIE-LABlab(40.94, -39.22, 31.02)
CIE-LCHlch(40.94, 50.01, 141.66°)
OKLaboklab(47.78% -0.106 0.0732)
OKLCHoklch(47.78% 0.129 145.4)
XYZxyz(6.6670, 11.8266, 4.1215)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F2A #6F1F64
analogous
#3C6F1F #1F6F2A #1F6F52
triadic
#1F6F2A #2A1F6F #6F2A1F
tetradic
#1F6F2A #1F3C6F #6F1F64 #6F521F
square
#1F6F2A #1F3C6F #6F1F64 #6F521F
split-complementary
#1F6F2A #521F6F #6F1F3C
monochromatic
#071809 #123F18 #1F6F2A #2C9F3C #3FC952

Accessibility & contrast

On white

6.24
#1F6F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6F2A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F2A#FFFFFF#000000##FFFFFF
##1F6F2A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#675E30
Tritanopia (blue-blind)
#036C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f2a;
/* rgb */ color: rgb(31, 111, 42);
/* oklch */ color: oklch(47.8% 0.129 145.4);
Tailwind
colors: {
  custom: {
    50: '#679966',
    500: '#1f6f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f2a;
$custom-light: #679966;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f2a",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 128.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.12879,
    "h": 145.4
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#1F6F2A
secondary
#A34796
accent
#48CBE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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