#1F4F0E#1F4F0E

#1F4F0E is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.107 H 139.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#1F4F0E
RGBrgb(31, 79, 14)
HSLhsl(104, 70%, 18%)
HSVhsv(104, 82%, 31%)
CMYKcmyk(60.8%, 0%, 82.3%, 69%)
CIE-LABlab(29.20, -29.42, 31.34)
CIE-LCHlch(29.20, 42.99, 133.19°)
OKLaboklab(37.99% -0.081 0.0704)
OKLCHoklch(37.99% 0.107 139)
XYZxyz(3.4402, 5.9147, 1.3757)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F0E #3E0E4F
analogous
#3F4F0E #1F4F0E #0E4F1D
triadic
#1F4F0E #0E1F4F #4F0E1F
tetradic
#1F4F0E #0E3F4F #3E0E4F #4F1D0E
square
#1F4F0E #0E3F4F #3E0E4F #4F1D0E
split-complementary
#1F4F0E #1D0E4F #4F0E3F
monochromatic
#0A1A05 #0B1B05 #1F4F0E #338317 #48B720

Accessibility & contrast

On white

9.62
#1F4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F4F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F0E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F0E#FFFFFF#000000##FFFFFF
##1F4F0E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524703
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#1A4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4f0e;
/* rgb */ color: rgb(31, 79, 14);
/* oklch */ color: oklch(38.0% 0.107 139.0);
Tailwind
colors: {
  custom: {
    50: '#618152',
    500: '#1f4f0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f0e;
$custom-light: #618152;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f0e",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 104.308,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.10733,
    "h": 139
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#1F4F0E
secondary
#722F8A
accent
#3BEDBE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F4F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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