#1F4E10#1F4E10

#1F4E10 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.105 H 139.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1F4E10
RGBrgb(31, 78, 16)
HSLhsl(105, 66%, 18%)
HSVhsv(105, 79%, 31%)
CMYKcmyk(60.3%, 0%, 79.5%, 69.4%)
CIE-LABlab(28.84, -28.82, 30.16)
CIE-LCHlch(28.84, 41.72, 133.70°)
OKLaboklab(37.7% -0.0793 0.0682)
OKLCHoklch(37.7% 0.105 139.3)
XYZxyz(3.3829, 5.7772, 1.4270)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E10 #3F104E
analogous
#3E4E10 #1F4E10 #104E20
triadic
#1F4E10 #101F4E #4E101F
tetradic
#1F4E10 #103E4E #3F104E #4E2010
square
#1F4E10 #103E4E #3F104E #4E2010
split-complementary
#1F4E10 #20104E #4E103E
monochromatic
#0A1905 #0B1B06 #1F4E10 #33811A #47B425

Accessibility & contrast

On white

9.74
#1F4E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F4E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E10
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E10#FFFFFF#000000##FFFFFF
##1F4E101.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#1A4B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e10;
/* rgb */ color: rgb(31, 78, 16);
/* oklch */ color: oklch(37.7% 0.105 139.3);
Tailwind
colors: {
  custom: {
    50: '#618053',
    500: '#1f4e10',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e10;
$custom-light: #618053;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e10",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 105.484,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37701,
    "c": 0.10461,
    "h": 139.3
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#1F4E10
secondary
#733288
accent
#3FE9C0
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4E10

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

Preview Lab → · Contrast checker → · Palette generator →

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