#1F4F0D#1F4F0D

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

Color values

HEX#1F4F0D
RGBrgb(31, 79, 13)
HSLhsl(104, 72%, 18%)
HSVhsv(104, 84%, 31%)
CMYKcmyk(60.8%, 0%, 83.5%, 69%)
CIE-LABlab(29.19, -29.49, 31.73)
CIE-LCHlch(29.19, 43.32, 132.91°)
OKLaboklab(37.98% -0.0813 0.071)
OKLCHoklch(37.98% 0.108 138.9)
XYZxyz(3.4336, 5.9120, 1.3409)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F0D #3D0D4F
analogous
#404F0D #1F4F0D #0D4F1C
triadic
#1F4F0D #0D1F4F #4F0D1F
tetradic
#1F4F0D #0D404F #3D0D4F #4F1C0D
square
#1F4F0D #0D404F #3D0D4F #4F1C0D
split-complementary
#1F4F0D #1C0D4F #4F0D40
monochromatic
#0A1A04 #0A1A04 #1F4F0D #348416 #48B81E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4F0D#FFFFFF#000000##FFFFFF
##1F4F0D1.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)
#524701
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#1A4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4f0d;
/* rgb */ color: rgb(31, 79, 13);
/* oklch */ color: oklch(38.0% 0.108 138.9);
Tailwind
colors: {
  custom: {
    50: '#618151',
    500: '#1f4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f0d;
$custom-light: #618151;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f0d",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 103.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.10795,
    "h": 138.9
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#1F4F0D
secondary
#712E8A
accent
#39EEBD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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