#104E1F#104E1F

#104E1F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.098 H 147.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#104E1F
RGBrgb(16, 78, 31)
HSLhsl(135, 66%, 18%)
HSVhsv(135, 79%, 31%)
CMYKcmyk(79.5%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.53, -30.74, 22.14)
CIE-LCHlch(28.53, 37.89, 144.24°)
OKLaboklab(37.36% -0.0828 0.053)
OKLCHoklch(37.36% 0.098 147.4)
XYZxyz(3.1852, 5.6575, 2.2202)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#104E1F #4E103F
analogous
#204E10 #104E1F #104E3E
triadic
#104E1F #1F104E #4E1F10
tetradic
#104E1F #10204E #4E103F #4E3E10
square
#104E1F #10204E #4E103F #4E3E10
split-complementary
#104E1F #3E104E #4E1020
monochromatic
#05190A #061B0B #104E1F #1A8133 #25B447

Accessibility & contrast

On white

9.85
#104E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#104E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #104E1F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##104E1F#FFFFFF#000000##FFFFFF
##104E1F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461B
Deuteranopia (green-blind)
#484123
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #104e1f;
/* rgb */ color: rgb(16, 78, 31);
/* oklch */ color: oklch(37.4% 0.098 147.4);
Tailwind
colors: {
  custom: {
    50: '#59805c',
    500: '#104e1f',
    950: '#000000',
  },
}
SCSS
$custom: #104e1f;
$custom-light: #59805c;
$custom-dark: #000000;
JSON
{
  "hex": "#104e1f",
  "rgb": {
    "r": 16,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 134.516,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37362,
    "c": 0.09829,
    "h": 147.4
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#104E1F
secondary
#883273
accent
#3FC0E9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #104E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#104E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva