#1F681C#1F681C

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

Color values

HEX#1F681C
RGBrgb(31, 104, 28)
HSLhsl(118, 58%, 26%)
HSVhsv(118, 73%, 41%)
CMYKcmyk(70.2%, 0%, 73.1%, 59.2%)
CIE-LABlab(38.33, -38.20, 34.78)
CIE-LCHlch(38.33, 51.66, 137.68°)
OKLaboklab(45.58% -0.1039 0.0796)
OKLCHoklch(45.58% 0.131 142.5)
XYZxyz(5.7247, 10.2752, 2.7800)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F681C #651C68
analogous
#45681C #1F681C #1C683F
triadic
#1F681C #1C1F68 #681C1F
tetradic
#1F681C #1C4568 #651C68 #683F1C
square
#1F681C #1C4568 #651C68 #683F1C
split-complementary
#1F681C #3F1C68 #681C45
monochromatic
#071806 #11380F #1F681C #2D9829 #3CC836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F681C#FFFFFF#000000##FFFFFF
##1F681C1.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)
#6A5E11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#0E6559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f681c;
/* rgb */ color: rgb(31, 104, 28);
/* oklch */ color: oklch(45.6% 0.131 142.5);
Tailwind
colors: {
  custom: {
    50: '#66945d',
    500: '#1f681c',
    950: '#000000',
  },
}
SCSS
$custom: #1f681c;
$custom-light: #66945d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f681c",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 117.632,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.1309,
    "h": 142.5
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#1F681C
secondary
#99439D
accent
#47E1DB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F681C

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

Preview Lab → · Contrast checker → · Palette generator →

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