#1F4D10#1F4D10

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

Color values

HEX#1F4D10
RGBrgb(31, 77, 16)
HSLhsl(105, 66%, 18%)
HSVhsv(105, 79%, 30%)
CMYKcmyk(59.7%, 0%, 79.2%, 69.8%)
CIE-LABlab(28.48, -28.39, 29.79)
CIE-LCHlch(28.48, 41.15, 133.62°)
OKLaboklab(37.4% -0.0781 0.0674)
OKLCHoklch(37.4% 0.103 139.2)
XYZxyz(3.3123, 5.6362, 1.4035)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D10 #3E104D
analogous
#3D4D10 #1F4D10 #104D1F
triadic
#1F4D10 #101F4D #4D101F
tetradic
#1F4D10 #103D4D #3E104D #4D1F10
square
#1F4D10 #103D4D #3E104D #4D1F10
split-complementary
#1F4D10 #1F104D #4D103D
monochromatic
#0A1905 #0B1A05 #1F4D10 #33801B #48B225

Accessibility & contrast

On white

9.87
#1F4D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4D10
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D10#FFFFFF#000000##FFFFFF
##1F4D101.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4606
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#1A4A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4d10;
/* rgb */ color: rgb(31, 77, 16);
/* oklch */ color: oklch(37.4% 0.103 139.2);
Tailwind
colors: {
  custom: {
    50: '#617f53',
    500: '#1f4d10',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d10;
$custom-light: #617f53;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d10",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 105.246,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37398,
    "c": 0.1032,
    "h": 139.2
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#1F4D10
secondary
#723287
accent
#3FE9BF
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4D10

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

Preview Lab → · Contrast checker → · Palette generator →

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