#1F4E19#1F4E19

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

Color values

HEX#1F4E19
RGBrgb(31, 78, 25)
HSLhsl(113, 51%, 20%)
HSVhsv(113, 68%, 31%)
CMYKcmyk(60.3%, 0%, 67.9%, 69.4%)
CIE-LABlab(28.93, -27.87, 25.97)
CIE-LCHlch(28.93, 38.09, 137.02°)
OKLaboklab(37.8% -0.0761 0.0606)
OKLCHoklch(37.8% 0.097 141.5)
XYZxyz(3.4648, 5.8100, 1.8584)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E19 #48194E
analogous
#394E19 #1F4E19 #194E2E
triadic
#1F4E19 #191F4E #4E191F
tetradic
#1F4E19 #19394E #48194E #4E2E19
square
#1F4E19 #19394E #48194E #4E2E19
split-complementary
#1F4E19 #2E194E #4E1939
monochromatic
#091707 #0D200A #1F4E19 #317C28 #44AB37

Accessibility & contrast

On white

9.71
#1F4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E19
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E19#FFFFFF#000000##FFFFFF
##1F4E191.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4e19;
/* rgb */ color: rgb(31, 78, 25);
/* oklch */ color: oklch(37.8% 0.097 141.5);
Tailwind
colors: {
  custom: {
    50: '#608058',
    500: '#1f4e19',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e19;
$custom-light: #608058;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e19",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 113.208,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.37798,
    "c": 0.09728,
    "h": 141.5
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#1F4E19
secondary
#7D3E84
accent
#4DDBCB
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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