#1F4D0D#1F4D0D

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

Color values

HEX#1F4D0D
RGBrgb(31, 77, 13)
HSLhsl(103, 71%, 18%)
HSVhsv(103, 83%, 30%)
CMYKcmyk(59.7%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.45, -28.64, 31.01)
CIE-LCHlch(28.45, 42.21, 132.72°)
OKLaboklab(37.37% -0.079 0.0695)
OKLCHoklch(37.37% 0.105 138.7)
XYZxyz(3.2915, 5.6279, 1.2935)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D0D #3B0D4D
analogous
#3F4D0D #1F4D0D #0D4D1B
triadic
#1F4D0D #0D1F4D #4D0D1F
tetradic
#1F4D0D #0D3F4D #3B0D4D #4D1B0D
square
#1F4D0D #0D3F4D #3B0D4D #4D1B0D
split-complementary
#1F4D0D #1B0D4D #4D0D3F
monochromatic
#0B1A04 #0B1A04 #1F4D0D #348116 #49B61F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4D0D#FFFFFF#000000##FFFFFF
##1F4D0D1.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)
#504502
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#1B4A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4d0d;
/* rgb */ color: rgb(31, 77, 13);
/* oklch */ color: oklch(37.4% 0.105 138.7);
Tailwind
colors: {
  custom: {
    50: '#617f51',
    500: '#1f4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d0d;
$custom-light: #617f51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d0d",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 103.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.10523,
    "h": 138.7
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#1F4D0D
secondary
#6F2E88
accent
#3AEEBB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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