#1F681E#1F681E

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

Color values

HEX#1F681E
RGBrgb(31, 104, 30)
HSLhsl(119, 55%, 26%)
HSVhsv(119, 71%, 41%)
CMYKcmyk(70.2%, 0%, 71.2%, 59.2%)
CIE-LABlab(38.35, -37.99, 33.91)
CIE-LCHlch(38.35, 50.92, 138.25°)
OKLaboklab(45.6% -0.1032 0.0781)
OKLCHoklch(45.6% 0.129 142.9)
XYZxyz(5.7494, 10.2851, 2.9103)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F681E #671E68
analogous
#44681E #1F681E #1E6842
triadic
#1F681E #1E1F68 #681E1F
tetradic
#1F681E #1E4468 #671E68 #68421E
square
#1F681E #1E4468 #671E68 #68421E
split-complementary
#1F681E #421E68 #681E44
monochromatic
#071807 #113910 #1F681E #2D982C #3CC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F681E#FFFFFF#000000##FFFFFF
##1F681E1.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)
#6A5E14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#0E6559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f681e;
/* rgb */ color: rgb(31, 104, 30);
/* oklch */ color: oklch(45.6% 0.129 142.9);
Tailwind
colors: {
  custom: {
    50: '#66945e',
    500: '#1f681e',
    950: '#000000',
  },
}
SCSS
$custom: #1f681e;
$custom-light: #66945e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f681e",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 119.189,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.12941,
    "h": 142.9
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#1F681E
secondary
#9B459D
accent
#49DFDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F681E

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

Preview Lab → · Contrast checker → · Palette generator →

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