#1F4E18#1F4E18

#1F4E18 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.098 H 141.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1F4E18
RGBrgb(31, 78, 24)
HSLhsl(112, 53%, 20%)
HSVhsv(112, 69%, 31%)
CMYKcmyk(60.3%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.92, -27.99, 26.47)
CIE-LCHlch(28.92, 38.52, 136.60°)
OKLaboklab(37.79% -0.0765 0.0616)
OKLCHoklch(37.79% 0.098 141.2)
XYZxyz(3.4542, 5.8057, 1.8026)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E18 #47184E
analogous
#3A4E18 #1F4E18 #184E2C
triadic
#1F4E18 #181F4E #4E181F
tetradic
#1F4E18 #183A4E #47184E #4E2C18
square
#1F4E18 #183A4E #47184E #4E2C18
split-complementary
#1F4E18 #2C184E #4E183A
monochromatic
#091707 #0C1F0A #1F4E18 #327D26 #44AC35

Accessibility & contrast

On white

9.72
#1F4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E18
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E18#FFFFFF#000000##FFFFFF
##1F4E181.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#194B43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e18;
/* rgb */ color: rgb(31, 78, 24);
/* oklch */ color: oklch(37.8% 0.098 141.2);
Tailwind
colors: {
  custom: {
    50: '#608057',
    500: '#1f4e18',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e18;
$custom-light: #608057;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e18",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 112.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.09819,
    "h": 141.2
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#1F4E18
secondary
#7B3D85
accent
#4BDCCA
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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