#1F6718#1F6718

#1F6718 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.132 H 141.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1F6718
RGBrgb(31, 103, 24)
HSLhsl(115, 62%, 25%)
HSVhsv(115, 77%, 40%)
CMYKcmyk(69.9%, 0%, 76.7%, 59.6%)
CIE-LABlab(37.94, -38.19, 36.08)
CIE-LCHlch(37.94, 52.54, 136.63°)
OKLaboklab(45.25% -0.1041 0.0818)
OKLCHoklch(45.25% 0.132 141.8)
XYZxyz(5.5799, 10.0572, 2.5111)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6718 #601867
analogous
#466718 #1F6718 #186739
triadic
#1F6718 #181F67 #67181F
tetradic
#1F6718 #184667 #601867 #673918
square
#1F6718 #184667 #601867 #673918
split-complementary
#1F6718 #391867 #671846
monochromatic
#071906 #10350C #1F6718 #2E9924 #3DCA2F

Accessibility & contrast

On white

6.97
#1F6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6718
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6718#FFFFFF#000000##FFFFFF
##1F67181.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#106458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6718;
/* rgb */ color: rgb(31, 103, 24);
/* oklch */ color: oklch(45.2% 0.132 141.8);
Tailwind
colors: {
  custom: {
    50: '#66935a',
    500: '#1f6718',
    950: '#000000',
  },
}
SCSS
$custom: #1f6718;
$custom-light: #66935a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6718",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 114.684,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.13239,
    "h": 141.8
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#1F6718
secondary
#953E9D
accent
#43E5D7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6718

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

Preview Lab → · Contrast checker → · Palette generator →

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