#1F641A#1F641A

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

Color values

HEX#1F641A
RGBrgb(31, 100, 26)
HSLhsl(116, 59%, 25%)
HSVhsv(116, 74%, 39%)
CMYKcmyk(69%, 0%, 74%, 60.8%)
CIE-LABlab(36.89, -36.86, 34.14)
CIE-LCHlch(36.89, 50.24, 137.19°)
OKLaboklab(44.38% -0.1004 0.078)
OKLCHoklch(44.38% 0.127 142.2)
XYZxyz(5.3084, 9.4797, 2.5271)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F641A #5F1A64
analogous
#44641A #1F641A #1A643A
triadic
#1F641A #1A1F64 #641A1F
tetradic
#1F641A #1A4464 #5F1A64 #643A1A
square
#1F641A #1A4464 #5F1A64 #643A1A
split-complementary
#1F641A #3A1A64 #641A44
monochromatic
#081806 #10330D #1F641A #2E9527 #3DC533

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F641A#FFFFFF#000000##FFFFFF
##1F641A1.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)
#665A0F
Deuteranopia (green-blind)
#5E5521
Tritanopia (blue-blind)
#116155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f641a;
/* rgb */ color: rgb(31, 100, 26);
/* oklch */ color: oklch(44.4% 0.127 142.2);
Tailwind
colors: {
  custom: {
    50: '#65915b',
    500: '#1f641a',
    950: '#000000',
  },
}
SCSS
$custom: #1f641a;
$custom-light: #65915b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f641a",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 115.946,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.12714,
    "h": 142.2
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#1F641A
secondary
#94409A
accent
#46E2D7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F641A

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

Preview Lab → · Contrast checker → · Palette generator →

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