#1F4E16#1F4E16

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

Color values

HEX#1F4E16
RGBrgb(31, 78, 22)
HSLhsl(110, 56%, 20%)
HSVhsv(110, 72%, 31%)
CMYKcmyk(60.3%, 0%, 71.8%, 69.4%)
CIE-LABlab(28.90, -28.22, 27.45)
CIE-LCHlch(28.90, 39.37, 135.80°)
OKLaboklab(37.76% -0.0772 0.0634)
OKLCHoklch(37.76% 0.1 140.6)
XYZxyz(3.4341, 5.7977, 1.6970)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E16 #45164E
analogous
#3B4E16 #1F4E16 #164E29
triadic
#1F4E16 #161F4E #4E161F
tetradic
#1F4E16 #163B4E #45164E #4E2916
square
#1F4E16 #163B4E #45164E #4E2916
split-complementary
#1F4E16 #29164E #4E163B
monochromatic
#091807 #0C1E09 #1F4E16 #327E23 #45AD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4E16#FFFFFF#000000##FFFFFF
##1F4E161.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)
#50470F
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#194B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4e16;
/* rgb */ color: rgb(31, 78, 22);
/* oklch */ color: oklch(37.8% 0.100 140.6);
Tailwind
colors: {
  custom: {
    50: '#608056',
    500: '#1f4e16',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e16;
$custom-light: #608056;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e16",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 110.357,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37762,
    "c": 0.09993,
    "h": 140.6
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#1F4E16
secondary
#793A85
accent
#49DFC7
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1F4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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