#1F6B2C#1F6B2C

#1F6B2C is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.121 H 146.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#1F6B2C
RGBrgb(31, 107, 44)
HSLhsl(130, 55%, 27%)
HSVhsv(130, 71%, 42%)
CMYKcmyk(71%, 0%, 58.9%, 58%)
CIE-LABlab(39.56, -37.38, 28.36)
CIE-LCHlch(39.56, 46.92, 142.81°)
OKLaboklab(46.65% -0.1009 0.0676)
OKLCHoklch(46.65% 0.121 146.2)
XYZxyz(6.2770, 10.9879, 4.1725)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B2C #6B1F5E
analogous
#386B1F #1F6B2C #1F6B52
triadic
#1F6B2C #2C1F6B #6B2C1F
tetradic
#1F6B2C #1F386B #6B1F5E #6B521F
square
#1F6B2C #1F386B #6B1F5E #6B521F
split-complementary
#1F6B2C #521F6B #6B1F38
monochromatic
#07180A #113C18 #1F6B2C #2D9A40 #3DC755

Accessibility & contrast

On white

6.57
#1F6B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#1F6B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6B2C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B2C#FFFFFF#000000##FFFFFF
##1F6B2C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6126
Deuteranopia (green-blind)
#635B31
Tritanopia (blue-blind)
#05685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f6b2c;
/* rgb */ color: rgb(31, 107, 44);
/* oklch */ color: oklch(46.6% 0.121 146.2);
Tailwind
colors: {
  custom: {
    50: '#669667',
    500: '#1f6b2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b2c;
$custom-light: #669667;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b2c",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 130.263,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.12146,
    "h": 146.2
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#1F6B2C
secondary
#9F4790
accent
#49C5DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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