#1F6813#1F6813

#1F6813 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.137 H 141.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#1F6813
RGBrgb(31, 104, 19)
HSLhsl(112, 69%, 24%)
HSVhsv(112, 82%, 41%)
CMYKcmyk(70.2%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.27, -38.97, 38.31)
CIE-LCHlch(38.27, 54.65, 135.49°)
OKLaboklab(45.5% -0.1065 0.0857)
OKLCHoklch(45.5% 0.137 141.2)
XYZxyz(5.6326, 10.2384, 2.2953)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6813 #5C1368
analogous
#4A6813 #1F6813 #136832
triadic
#1F6813 #131F68 #68131F
tetradic
#1F6813 #134A68 #5C1368 #683213
square
#1F6813 #134A68 #5C1368 #683213
split-complementary
#1F6813 #321368 #68134A
monochromatic
#081A05 #10340A #1F6813 #2E9C1C #3ECF26

Accessibility & contrast

On white

6.89
#1F6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6813
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6813#FFFFFF#000000##FFFFFF
##1F68131.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#116458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f6813;
/* rgb */ color: rgb(31, 104, 19);
/* oklch */ color: oklch(45.5% 0.137 141.2);
Tailwind
colors: {
  custom: {
    50: '#669458',
    500: '#1f6813',
    950: '#000000',
  },
}
SCSS
$custom: #1f6813;
$custom-light: #669458;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6813",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 111.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.1367,
    "h": 141.2
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#1F6813
secondary
#91379F
accent
#3CECD3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6813

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

Preview Lab → · Contrast checker → · Palette generator →

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