#1F4E0F#1F4E0F

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

Color values

HEX#1F4E0F
RGBrgb(31, 78, 15)
HSLhsl(105, 68%, 18%)
HSVhsv(105, 81%, 31%)
CMYKcmyk(60.3%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.84, -28.91, 30.58)
CIE-LCHlch(28.84, 42.08, 133.39°)
OKLaboklab(37.69% -0.0796 0.0689)
OKLCHoklch(37.69% 0.105 139.1)
XYZxyz(3.3756, 5.7743, 1.3885)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E0F #3E0F4E
analogous
#3E4E0F #1F4E0F #0F4E1E
triadic
#1F4E0F #0F1F4E #4E0F1F
tetradic
#1F4E0F #0F3E4E #3E0F4E #4E1E0F
square
#1F4E0F #0F3E4E #3E0F4E #4E1E0F
split-complementary
#1F4E0F #1E0F4E #4E0F3E
monochromatic
#0A1A05 #0B1B05 #1F4E0F #338119 #48B523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4E0F#FFFFFF#000000##FFFFFF
##1F4E0F1.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)
#514604
Deuteranopia (green-blind)
#4B4215
Tritanopia (blue-blind)
#1A4B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e0f;
/* rgb */ color: rgb(31, 78, 15);
/* oklch */ color: oklch(37.7% 0.105 139.1);
Tailwind
colors: {
  custom: {
    50: '#618052',
    500: '#1f4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e0f;
$custom-light: #618052;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e0f",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 104.762,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.10529,
    "h": 139.1
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#1F4E0F
secondary
#723188
accent
#3DEBBF
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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