#1F4D0E#1F4D0E

#1F4D0E is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.105 H 138.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#1F4D0E
RGBrgb(31, 77, 14)
HSLhsl(104, 69%, 18%)
HSVhsv(104, 82%, 30%)
CMYKcmyk(59.7%, 0%, 81.8%, 69.8%)
CIE-LABlab(28.46, -28.56, 30.61)
CIE-LCHlch(28.46, 41.86, 133.01°)
OKLaboklab(37.38% -0.0787 0.0688)
OKLCHoklch(37.38% 0.105 138.8)
XYZxyz(3.2981, 5.6305, 1.3284)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D0E #3C0E4D
analogous
#3E4D0E #1F4D0E #0E4D1D
triadic
#1F4D0E #0E1F4D #4D0E1F
tetradic
#1F4D0E #0E3E4D #3C0E4D #4D1D0E
square
#1F4D0E #0E3E4D #3C0E4D #4D1D0E
split-complementary
#1F4D0E #1D0E4D #4D0E3E
monochromatic
#0A1A05 #0A1A05 #1F4D0E #348117 #49B521

Accessibility & contrast

On white

9.88
#1F4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1F4D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D0E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D0E#FFFFFF#000000##FFFFFF
##1F4D0E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504503
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#1B4A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4d0e;
/* rgb */ color: rgb(31, 77, 14);
/* oklch */ color: oklch(37.4% 0.105 138.8);
Tailwind
colors: {
  custom: {
    50: '#617f51',
    500: '#1f4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d0e;
$custom-light: #617f51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d0e",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 103.81,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37381,
    "c": 0.10457,
    "h": 138.8
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#1F4D0E
secondary
#702F88
accent
#3CECBC
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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