#1F6B2D#1F6B2D

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

Color values

HEX#1F6B2D
RGBrgb(31, 107, 45)
HSLhsl(131, 55%, 27%)
HSVhsv(131, 71%, 42%)
CMYKcmyk(71%, 0%, 57.9%, 58%)
CIE-LABlab(39.57, -37.23, 27.85)
CIE-LCHlch(39.57, 46.50, 143.20°)
OKLaboklab(46.66% -0.1005 0.0666)
OKLCHoklch(46.66% 0.121 146.5)
XYZxyz(6.2960, 10.9955, 4.2727)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B2D #6B1F5D
analogous
#376B1F #1F6B2D #1F6B53
triadic
#1F6B2D #2D1F6B #6B2D1F
tetradic
#1F6B2D #1F376B #6B1F5D #6B531F
square
#1F6B2D #1F376B #6B1F5D #6B531F
split-complementary
#1F6B2D #531F6B #6B1F37
monochromatic
#07180A #113C19 #1F6B2D #2D9A41 #3DC757

Accessibility & contrast

On white

6.56
#1F6B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6B2D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B2D#FFFFFF#000000##FFFFFF
##1F6B2D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6127
Deuteranopia (green-blind)
#635B32
Tritanopia (blue-blind)
#04685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f6b2d;
/* rgb */ color: rgb(31, 107, 45);
/* oklch */ color: oklch(46.7% 0.121 146.5);
Tailwind
colors: {
  custom: {
    50: '#669668',
    500: '#1f6b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b2d;
$custom-light: #669668;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b2d",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 131.053,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.12052,
    "h": 146.5
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#1F6B2D
secondary
#9F478F
accent
#49C3DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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