#1F681F#1F681F

#1F681F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.129 H 143.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#1F681F
RGBrgb(31, 104, 31)
HSLhsl(120, 54%, 26%)
HSVhsv(120, 70%, 41%)
CMYKcmyk(70.2%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.36, -37.88, 33.46)
CIE-LCHlch(38.36, 50.54, 138.55°)
OKLaboklab(45.61% -0.1029 0.0772)
OKLCHoklch(45.61% 0.129 143.1)
XYZxyz(5.7624, 10.2903, 2.9786)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F681F #681F68
analogous
#44681F #1F681F #1F6844
triadic
#1F681F #1F1F68 #681F1F
tetradic
#1F681F #1F4468 #681F68 #68441F
square
#1F681F #1F4468 #681F68 #68441F
split-complementary
#1F681F #441F68 #681F44
monochromatic
#071807 #113911 #1F681F #2D972D #3CC53C

Accessibility & contrast

On white

6.87
#1F681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1F681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F681F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F681F#FFFFFF#000000##FFFFFF
##1F681F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E15
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#0D6559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f681f;
/* rgb */ color: rgb(31, 104, 31);
/* oklch */ color: oklch(45.6% 0.129 143.1);
Tailwind
colors: {
  custom: {
    50: '#66945e',
    500: '#1f681f',
    950: '#000000',
  },
}
SCSS
$custom: #1f681f;
$custom-light: #66945e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f681f",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.12863,
    "h": 143.1
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#1F681F
secondary
#9C469C
accent
#4ADDDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #1F681F

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

Preview Lab → · Contrast checker → · Palette generator →

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