#1F601F#1F601F

#1F601F is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.2% C 0.118 H 143.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#1F601F
RGBrgb(31, 96, 31)
HSLhsl(120, 51%, 25%)
HSVhsv(120, 68%, 38%)
CMYKcmyk(67.7%, 0%, 67.7%, 62.4%)
CIE-LABlab(35.51, -34.74, 30.32)
CIE-LCHlch(35.51, 46.11, 138.88°)
OKLaboklab(43.25% -0.0943 0.0706)
OKLCHoklch(43.25% 0.118 143.2)
XYZxyz(4.9950, 8.7555, 2.7228)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F601F #601F60
analogous
#40601F #1F601F #1F6040
triadic
#1F601F #1F1F60 #601F1F
tetradic
#1F601F #1F4060 #601F60 #60401F
square
#1F601F #1F4060 #601F60 #60401F
split-complementary
#1F601F #401F60 #601F40
monochromatic
#071707 #103210 #1F601F #2E8E2E #3DBD3D

Accessibility & contrast

On white

7.63
#1F601F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F601F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F601F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F601F#FFFFFF#000000##FFFFFF
##1F601F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625717
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#115D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f601f;
/* rgb */ color: rgb(31, 96, 31);
/* oklch */ color: oklch(43.2% 0.118 143.2);
Tailwind
colors: {
  custom: {
    50: '#648e5e',
    500: '#1f601f',
    950: '#000000',
  },
}
SCSS
$custom: #1f601f;
$custom-light: #648e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f601f",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.11783,
    "h": 143.2
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#1F601F
secondary
#954695
accent
#4DDBDB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #1F601F

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

Preview Lab → · Contrast checker → · Palette generator →

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