#1F6713#1F6713

#1F6713 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.135 H 141.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#1F6713
RGBrgb(31, 103, 19)
HSLhsl(111, 69%, 24%)
HSVhsv(111, 82%, 40%)
CMYKcmyk(69.9%, 0%, 81.6%, 59.6%)
CIE-LABlab(37.91, -38.60, 37.97)
CIE-LCHlch(37.91, 54.14, 135.47°)
OKLaboklab(45.21% -0.1055 0.085)
OKLCHoklch(45.21% 0.135 141.1)
XYZxyz(5.5326, 10.0383, 2.2620)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6713 #5B1367
analogous
#496713 #1F6713 #136731
triadic
#1F6713 #131F67 #67131F
tetradic
#1F6713 #134967 #5B1367 #673113
square
#1F6713 #134967 #5B1367 #673113
split-complementary
#1F6713 #311367 #671349
monochromatic
#081A05 #0F3309 #1F6713 #2F9B1D #3ECE26

Accessibility & contrast

On white

6.98
#1F6713 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6713
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6713#FFFFFF#000000##FFFFFF
##1F67131.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#116457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6713;
/* rgb */ color: rgb(31, 103, 19);
/* oklch */ color: oklch(45.2% 0.135 141.1);
Tailwind
colors: {
  custom: {
    50: '#669358',
    500: '#1f6713',
    950: '#000000',
  },
}
SCSS
$custom: #1f6713;
$custom-light: #669358;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6713",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 111.429,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.13546,
    "h": 141.1
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#1F6713
secondary
#90379E
accent
#3CECD3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6713

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

Preview Lab → · Contrast checker → · Palette generator →

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