#1F4910#1F4910

#1F4910 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.098 H 138.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1F4910
RGBrgb(31, 73, 16)
HSLhsl(104, 64%, 17%)
HSVhsv(104, 78%, 29%)
CMYKcmyk(57.5%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.00, -26.61, 28.27)
CIE-LCHlch(27.00, 38.83, 133.27°)
OKLaboklab(36.18% -0.0733 0.0643)
OKLCHoklch(36.18% 0.098 138.8)
XYZxyz(3.0410, 5.0936, 1.3130)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4910 #3A1049
analogous
#3B4910 #1F4910 #10491E
triadic
#1F4910 #101F49 #49101F
tetradic
#1F4910 #103B49 #3A1049 #491E10
square
#1F4910 #103B49 #3A1049 #491E10
split-complementary
#1F4910 #1E1049 #49103B
monochromatic
#0B1906 #0B1906 #1F4910 #347B1B #4AAD26

Accessibility & contrast

On white

10.40
#1F4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1F4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4910
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4910#FFFFFF#000000##FFFFFF
##1F49101.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4207
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#1B463E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f4910;
/* rgb */ color: rgb(31, 73, 16);
/* oklch */ color: oklch(36.2% 0.098 138.8);
Tailwind
colors: {
  custom: {
    50: '#607c52',
    500: '#1f4910',
    950: '#000000',
  },
}
SCSS
$custom: #1f4910;
$custom-light: #607c52;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4910",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 104.211,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36183,
    "c": 0.09751,
    "h": 138.8
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#1F4910
secondary
#6E3283
accent
#41E7BB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4910

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

Preview Lab → · Contrast checker → · Palette generator →

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