#1F641D#1F641D

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

Color values

HEX#1F641D
RGBrgb(31, 100, 29)
HSLhsl(118, 55%, 25%)
HSVhsv(118, 71%, 39%)
CMYKcmyk(69%, 0%, 71%, 60.8%)
CIE-LABlab(36.92, -36.55, 32.82)
CIE-LCHlch(36.92, 49.13, 138.08°)
OKLaboklab(44.41% -0.0994 0.0756)
OKLCHoklch(44.41% 0.125 142.7)
XYZxyz(5.3437, 9.4938, 2.7130)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F641D #621D64
analogous
#42641D #1F641D #1D643E
triadic
#1F641D #1D1F64 #641D1F
tetradic
#1F641D #1D4264 #621D64 #643E1D
square
#1F641D #1D4264 #621D64 #643E1D
split-complementary
#1F641D #3E1D64 #641D42
monochromatic
#071807 #10350F #1F641D #2E932B #3CC339

Accessibility & contrast

On white

7.24
#1F641D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F641D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F641D#FFFFFF#000000##FFFFFF
##1F641D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A13
Deuteranopia (green-blind)
#5E5523
Tritanopia (blue-blind)
#106155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f641d;
/* rgb */ color: rgb(31, 100, 29);
/* oklch */ color: oklch(44.4% 0.125 142.7);
Tailwind
colors: {
  custom: {
    50: '#65915d',
    500: '#1f641d',
    950: '#000000',
  },
}
SCSS
$custom: #1f641d;
$custom-light: #65915d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f641d",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 29
  },
  "hsl": {
    "h": 118.31,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.12488,
    "h": 142.7
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#1F641D
secondary
#974499
accent
#49DEDA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F641D

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

Preview Lab → · Contrast checker → · Palette generator →

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