#1F6F2B#1F6F2B

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

Color values

HEX#1F6F2B
RGBrgb(31, 111, 43)
HSLhsl(129, 56%, 28%)
HSVhsv(129, 72%, 44%)
CMYKcmyk(72.1%, 0%, 61.3%, 56.5%)
CIE-LABlab(40.95, -39.09, 30.52)
CIE-LCHlch(40.95, 49.59, 142.01°)
OKLaboklab(47.79% -0.1056 0.0722)
OKLCHoklch(47.79% 0.128 145.6)
XYZxyz(6.6851, 11.8339, 4.2169)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F2B #6F1F63
analogous
#3B6F1F #1F6F2B #1F6F53
triadic
#1F6F2B #2B1F6F #6F2B1F
tetradic
#1F6F2B #1F3B6F #6F1F63 #6F531F
square
#1F6F2B #1F3B6F #6F1F63 #6F531F
split-complementary
#1F6F2B #531F6F #6F1F3B
monochromatic
#071809 #123F18 #1F6F2B #2C9F3E #3FC954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6F2B#FFFFFF#000000##FFFFFF
##1F6F2B1.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)
#716524
Deuteranopia (green-blind)
#675E30
Tritanopia (blue-blind)
#026C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6f2b;
/* rgb */ color: rgb(31, 111, 43);
/* oklch */ color: oklch(47.8% 0.128 145.6);
Tailwind
colors: {
  custom: {
    50: '#679967',
    500: '#1f6f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f2b;
$custom-light: #679967;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f2b",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 129,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.1279,
    "h": 145.6
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#1F6F2B
secondary
#A34795
accent
#48C9E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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