#104D1F#104D1F

#104D1F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.097 H 147.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#104D1F
RGBrgb(16, 77, 31)
HSLhsl(135, 66%, 18%)
HSVhsv(135, 79%, 30%)
CMYKcmyk(79.2%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.16, -30.33, 21.69)
CIE-LCHlch(28.16, 37.29, 144.44°)
OKLaboklab(37.05% -0.0817 0.052)
OKLCHoklch(37.05% 0.097 147.5)
XYZxyz(3.1147, 5.5165, 2.1967)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#104D1F #4D103E
analogous
#1F4D10 #104D1F #104D3D
triadic
#104D1F #1F104D #4D1F10
tetradic
#104D1F #101F4D #4D103E #4D3D10
square
#104D1F #101F4D #4D103E #4D3D10
split-complementary
#104D1F #3D104D #4D101F
monochromatic
#05190A #051A0B #104D1F #1B8033 #25B248

Accessibility & contrast

On white

9.98
#104D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#104D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #104D1F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##104D1F#FFFFFF#000000##FFFFFF
##104D1F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451B
Deuteranopia (green-blind)
#474023
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #104d1f;
/* rgb */ color: rgb(16, 77, 31);
/* oklch */ color: oklch(37.1% 0.097 147.5);
Tailwind
colors: {
  custom: {
    50: '#597f5c',
    500: '#104d1f',
    950: '#000000',
  },
}
SCSS
$custom: #104d1f;
$custom-light: #597f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#104d1f",
  "rgb": {
    "r": 16,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 134.754,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37053,
    "c": 0.09683,
    "h": 147.5
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#104D1F
secondary
#873272
accent
#3FBFE9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #104D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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