#1F4E0E#1F4E0E

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

Color values

HEX#1F4E0E
RGBrgb(31, 78, 14)
HSLhsl(104, 70%, 18%)
HSVhsv(104, 82%, 31%)
CMYKcmyk(60.3%, 0%, 82.1%, 69.4%)
CIE-LABlab(28.83, -28.99, 30.98)
CIE-LCHlch(28.83, 42.43, 133.10°)
OKLaboklab(37.69% -0.0799 0.0696)
OKLCHoklch(37.69% 0.106 138.9)
XYZxyz(3.3686, 5.7715, 1.3519)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E0E #3D0E4E
analogous
#3F4E0E #1F4E0E #0E4E1D
triadic
#1F4E0E #0E1F4E #4E0E1F
tetradic
#1F4E0E #0E3F4E #3D0E4E #4E1D0E
square
#1F4E0E #0E3F4E #3D0E4E #4E1D0E
split-complementary
#1F4E0E #1D0E4E #4E0E3F
monochromatic
#0A1A05 #0A1A05 #1F4E0E #348217 #48B621

Accessibility & contrast

On white

9.75
#1F4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1F4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E0E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E0E#FFFFFF#000000##FFFFFF
##1F4E0E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4e0e;
/* rgb */ color: rgb(31, 78, 14);
/* oklch */ color: oklch(37.7% 0.106 138.9);
Tailwind
colors: {
  custom: {
    50: '#618052',
    500: '#1f4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e0e;
$custom-light: #618052;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e0e",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 104.063,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37685,
    "c": 0.10596,
    "h": 138.9
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#1F4E0E
secondary
#712F89
accent
#3BECBD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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