#1F6917#1F6917

#1F6917 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.136 H 141.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#1F6917
RGBrgb(31, 105, 23)
HSLhsl(114, 64%, 25%)
HSVhsv(114, 78%, 41%)
CMYKcmyk(70.5%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.65, -39.03, 37.19)
CIE-LCHlch(38.65, 53.91, 136.38°)
OKLaboklab(45.83% -0.1064 0.084)
OKLCHoklch(45.83% 0.136 141.7)
XYZxyz(5.7710, 10.4557, 2.5245)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6917 #611769
analogous
#486917 #1F6917 #176938
triadic
#1F6917 #171F69 #69171F
tetradic
#1F6917 #174869 #611769 #693817
square
#1F6917 #174869 #611769 #693817
split-complementary
#1F6917 #381769 #691748
monochromatic
#071905 #10370C #1F6917 #2E9B22 #3DCD2D

Accessibility & contrast

On white

6.79
#1F6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6917
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6917#FFFFFF#000000##FFFFFF
##1F69171.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#0F6659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6917;
/* rgb */ color: rgb(31, 105, 23);
/* oklch */ color: oklch(45.8% 0.136 141.7);
Tailwind
colors: {
  custom: {
    50: '#67955a',
    500: '#1f6917',
    950: '#000000',
  },
}
SCSS
$custom: #1f6917;
$custom-light: #67955a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6917",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 114.146,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.13557,
    "h": 141.7
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#1F6917
secondary
#963D9F
accent
#41E7D7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6917

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

Preview Lab → · Contrast checker → · Palette generator →

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