#1F4E11#1F4E11

#1F4E11 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.104 H 139.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1F4E11
RGBrgb(31, 78, 17)
HSLhsl(106, 64%, 19%)
HSVhsv(106, 78%, 31%)
CMYKcmyk(60.3%, 0%, 78.2%, 69.4%)
CIE-LABlab(28.85, -28.73, 29.74)
CIE-LCHlch(28.85, 41.35, 134.01°)
OKLaboklab(37.71% -0.079 0.0675)
OKLCHoklch(37.71% 0.104 139.5)
XYZxyz(3.3905, 5.7803, 1.4672)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E11 #40114E
analogous
#3D4E11 #1F4E11 #114E21
triadic
#1F4E11 #111F4E #4E111F
tetradic
#1F4E11 #113D4E #40114E #4E2111
square
#1F4E11 #113D4E #40114E #4E2111
split-complementary
#1F4E11 #21114E #4E113D
monochromatic
#0A1905 #0B1C06 #1F4E11 #33801C #47B227

Accessibility & contrast

On white

9.74
#1F4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F4E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E11
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E11#FFFFFF#000000##FFFFFF
##1F4E111.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504607
Deuteranopia (green-blind)
#4A4317
Tritanopia (blue-blind)
#1A4B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e11;
/* rgb */ color: rgb(31, 78, 17);
/* oklch */ color: oklch(37.7% 0.104 139.5);
Tailwind
colors: {
  custom: {
    50: '#618053',
    500: '#1f4e11',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e11;
$custom-light: #618053;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e11",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 106.23,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37711,
    "c": 0.10389,
    "h": 139.5
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#1F4E11
secondary
#743387
accent
#41E7C1
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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