#1F641B#1F641B

#1F641B is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.126 H 142.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1F641B
RGBrgb(31, 100, 27)
HSLhsl(117, 57%, 25%)
HSVhsv(117, 73%, 39%)
CMYKcmyk(69%, 0%, 73%, 60.8%)
CIE-LABlab(36.90, -36.76, 33.71)
CIE-LCHlch(36.90, 49.88, 137.48°)
OKLaboklab(44.39% -0.1001 0.0772)
OKLCHoklch(44.39% 0.126 142.3)
XYZxyz(5.3198, 9.4842, 2.5870)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F641B #601B64
analogous
#44641B #1F641B #1B643B
triadic
#1F641B #1B1F64 #641B1F
tetradic
#1F641B #1B4464 #601B64 #643B1B
square
#1F641B #1B4464 #601B64 #643B1B
split-complementary
#1F641B #3B1B64 #641B44
monochromatic
#071807 #10340E #1F641B #2E9428 #3DC435

Accessibility & contrast

On white

7.25
#1F641B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F641B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F641B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F641B#FFFFFF#000000##FFFFFF
##1F641B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A10
Deuteranopia (green-blind)
#5E5522
Tritanopia (blue-blind)
#116155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f641b;
/* rgb */ color: rgb(31, 100, 27);
/* oklch */ color: oklch(44.4% 0.126 142.3);
Tailwind
colors: {
  custom: {
    50: '#65915c',
    500: '#1f641b',
    950: '#000000',
  },
}
SCSS
$custom: #1f641b;
$custom-light: #65915c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f641b",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 116.712,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.1264,
    "h": 142.3
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#1F641B
secondary
#954199
accent
#47E1D8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F641B

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

Preview Lab → · Contrast checker → · Palette generator →

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