#1F4E13#1F4E13

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

Color values

HEX#1F4E13
RGBrgb(31, 78, 19)
HSLhsl(108, 61%, 19%)
HSVhsv(108, 76%, 31%)
CMYKcmyk(60.3%, 0%, 75.6%, 69.4%)
CIE-LABlab(28.87, -28.54, 28.85)
CIE-LCHlch(28.87, 40.58, 134.69°)
OKLaboklab(37.73% -0.0783 0.0659)
OKLCHoklch(37.73% 0.102 139.9)
XYZxyz(3.4069, 5.7868, 1.5534)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E13 #42134E
analogous
#3D4E13 #1F4E13 #134E25
triadic
#1F4E13 #131F4E #4E131F
tetradic
#1F4E13 #133D4E #42134E #4E2513
square
#1F4E13 #133D4E #42134E #4E2513
split-complementary
#1F4E13 #25134E #4E133D
monochromatic
#0A1906 #0B1D07 #1F4E13 #337F1F #46B02B

Accessibility & contrast

On white

9.73
#1F4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E13
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E13#FFFFFF#000000##FFFFFF
##1F4E131.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460A
Deuteranopia (green-blind)
#4A4318
Tritanopia (blue-blind)
#1A4B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e13;
/* rgb */ color: rgb(31, 78, 19);
/* oklch */ color: oklch(37.7% 0.102 139.9);
Tailwind
colors: {
  custom: {
    50: '#618054',
    500: '#1f4e13',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e13;
$custom-light: #618054;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e13",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 107.797,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.10238,
    "h": 139.9
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#1F4E13
secondary
#763687
accent
#44E4C3
background
#F5F7F5
surface
#EAEEE8
border
#C6C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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