#104C1F#104C1F

#104C1F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.095 H 147.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#104C1F
RGBrgb(16, 76, 31)
HSLhsl(135, 65%, 18%)
HSVhsv(135, 79%, 30%)
CMYKcmyk(78.9%, 0%, 59.2%, 70.2%)
CIE-LABlab(27.78, -29.92, 21.24)
CIE-LCHlch(27.78, 36.69, 144.64°)
OKLaboklab(36.74% -0.0806 0.051)
OKLCHoklch(36.74% 0.095 147.7)
XYZxyz(3.0452, 5.3776, 2.1736)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#104C1F #4C103D
analogous
#1F4C10 #104C1F #104C3D
triadic
#104C1F #1F104C #4C1F10
tetradic
#104C1F #101F4C #4C103D #4C3D10
square
#104C1F #101F4C #4C103D #4C3D10
split-complementary
#104C1F #3D104C #4C101F
monochromatic
#05190A #05190A #104C1F #1B7F34 #25B148

Accessibility & contrast

On white

10.12
#104C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#104C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #104C1F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##104C1F#FFFFFF#000000##FFFFFF
##104C1F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #104c1f;
/* rgb */ color: rgb(16, 76, 31);
/* oklch */ color: oklch(36.7% 0.095 147.7);
Tailwind
colors: {
  custom: {
    50: '#597f5c',
    500: '#104c1f',
    950: '#000000',
  },
}
SCSS
$custom: #104c1f;
$custom-light: #597f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#104c1f",
  "rgb": {
    "r": 16,
    "g": 76,
    "b": 31
  },
  "hsl": {
    "h": 135,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.09535,
    "h": 147.7
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#104C1F
secondary
#863271
accent
#40BEE8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #104C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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