#1F661A#1F661A

#1F661A is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.130 H 142.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#1F661A
RGBrgb(31, 102, 26)
HSLhsl(116, 59%, 25%)
HSVhsv(116, 75%, 40%)
CMYKcmyk(69.6%, 0%, 74.5%, 60%)
CIE-LABlab(37.60, -37.63, 34.89)
CIE-LCHlch(37.60, 51.32, 137.16°)
OKLaboklab(44.97% -0.1025 0.0796)
OKLCHoklch(44.97% 0.13 142.2)
XYZxyz(5.5026, 9.8681, 2.5918)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F661A #611A66
analogous
#45661A #1F661A #1A663B
triadic
#1F661A #1A1F66 #661A1F
tetradic
#1F661A #1A4566 #611A66 #663B1A
square
#1F661A #1A4566 #611A66 #663B1A
split-complementary
#1F661A #3B1A66 #661A45
monochromatic
#071806 #10350E #1F661A #2E9726 #3DC833

Accessibility & contrast

On white

7.06
#1F661A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F661A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F661A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F661A#FFFFFF#000000##FFFFFF
##1F661A1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0E
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#106357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f661a;
/* rgb */ color: rgb(31, 102, 26);
/* oklch */ color: oklch(45.0% 0.130 142.2);
Tailwind
colors: {
  custom: {
    50: '#66925b',
    500: '#1f661a',
    950: '#000000',
  },
}
SCSS
$custom: #1f661a;
$custom-light: #66925b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f661a",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 116.053,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.12974,
    "h": 142.2
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#1F661A
secondary
#96409C
accent
#45E3D8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F661A

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

Preview Lab → · Contrast checker → · Palette generator →

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