#1F6B2F#1F6B2F

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

Color values

HEX#1F6B2F
RGBrgb(31, 107, 47)
HSLhsl(133, 55%, 27%)
HSVhsv(133, 71%, 42%)
CMYKcmyk(71%, 0%, 56.1%, 58%)
CIE-LABlab(39.60, -36.92, 26.81)
CIE-LCHlch(39.60, 45.63, 144.01°)
OKLaboklab(46.69% -0.0996 0.0644)
OKLCHoklch(46.69% 0.119 147.1)
XYZxyz(6.3354, 11.0113, 4.4803)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B2F #6B1F5B
analogous
#356B1F #1F6B2F #1F6B55
triadic
#1F6B2F #2F1F6B #6B2F1F
tetradic
#1F6B2F #1F356B #6B1F5B #6B551F
square
#1F6B2F #1F356B #6B1F5B #6B551F
split-complementary
#1F6B2F #551F6B #6B1F35
monochromatic
#07180A #113C1A #1F6B2F #2D9A44 #3DC75A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6B2F#FFFFFF#000000##FFFFFF
##1F6B2F1.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)
#6C612A
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#03695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f6b2f;
/* rgb */ color: rgb(31, 107, 47);
/* oklch */ color: oklch(46.7% 0.119 147.1);
Tailwind
colors: {
  custom: {
    50: '#669669',
    500: '#1f6b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b2f;
$custom-light: #669669;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b2f",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 132.632,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.11861,
    "h": 147.1
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#1F6B2F
secondary
#9F478D
accent
#49BFDE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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