#1F6B18#1F6B18

#1F6B18 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.137 H 141.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1F6B18
RGBrgb(31, 107, 24)
HSLhsl(115, 63%, 26%)
HSVhsv(115, 78%, 42%)
CMYKcmyk(71%, 0%, 77.6%, 58%)
CIE-LABlab(39.36, -39.69, 37.52)
CIE-LCHlch(39.36, 54.62, 136.61°)
OKLaboklab(46.42% -0.1082 0.0848)
OKLCHoklch(46.42% 0.137 141.9)
XYZxyz(5.9873, 10.8720, 2.6470)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B18 #64186B
analogous
#486B18 #1F6B18 #186B3A
triadic
#1F6B18 #181F6B #6B181F
tetradic
#1F6B18 #18486B #64186B #6B3A18
square
#1F6B18 #18486B #64186B #6B3A18
split-complementary
#1F6B18 #3A186B #6B1848
monochromatic
#071906 #11390D #1F6B18 #2D9D23 #3CCF2E

Accessibility & contrast

On white

6.62
#1F6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6B18
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B18#FFFFFF#000000##FFFFFF
##1F6B181.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6008
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#0E685B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f6b18;
/* rgb */ color: rgb(31, 107, 24);
/* oklch */ color: oklch(46.4% 0.137 141.9);
Tailwind
colors: {
  custom: {
    50: '#67965b',
    500: '#1f6b18',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b18;
$custom-light: #67965b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b18",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 114.94,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.13744,
    "h": 141.9
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#1F6B18
secondary
#983EA1
accent
#41E6D8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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