#104E0C#104E0C

#104E0C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.1% C 0.114 H 142.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#104E0C
RGBrgb(16, 78, 12)
HSLhsl(116, 73%, 18%)
HSVhsv(116, 85%, 31%)
CMYKcmyk(79.5%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.34, -33.03, 31.12)
CIE-LCHlch(28.34, 45.38, 136.71°)
OKLaboklab(37.14% -0.0899 0.0697)
OKLCHoklch(37.14% 0.114 142.2)
XYZxyz(3.0043, 5.5851, 1.2675)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#104E0C #4A0C4E
analogous
#314E0C #104E0C #0C4E29
triadic
#104E0C #0C104E #4E0C10
tetradic
#104E0C #0C314E #4A0C4E #4E290C
square
#104E0C #0C314E #4A0C4E #4E290C
split-complementary
#104E0C #290C4E #4E0C31
monochromatic
#051B04 #051B04 #104E0C #1B8314 #26B81C

Accessibility & contrast

On white

9.92
#104E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#104E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #104E0C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##104E0C#FFFFFF#000000##FFFFFF
##104E0C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #104e0c;
/* rgb */ color: rgb(16, 78, 12);
/* oklch */ color: oklch(37.1% 0.114 142.2);
Tailwind
colors: {
  custom: {
    50: '#5a8051',
    500: '#104e0c',
    950: '#000000',
  },
}
SCSS
$custom: #104e0c;
$custom-light: #5a8051;
$custom-dark: #000000;
JSON
{
  "hex": "#104e0c",
  "rgb": {
    "r": 16,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 116.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37142,
    "c": 0.11378,
    "h": 142.2
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#104E0C
secondary
#842C8A
accent
#38F0E5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #104E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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