#1A4D0C#1A4D0C

#1A4D0C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.108 H 140.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1A4D0C
RGBrgb(26, 77, 12)
HSLhsl(107, 73%, 17%)
HSVhsv(107, 84%, 30%)
CMYKcmyk(66.2%, 0%, 84.4%, 69.8%)
CIE-LABlab(28.26, -30.22, 31.14)
CIE-LCHlch(28.26, 43.40, 134.14°)
OKLaboklab(37.16% -0.083 0.0697)
OKLCHoklch(37.16% 0.108 140)
XYZxyz(3.1461, 5.5536, 1.2539)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D0C #3F0C4D
analogous
#3B4D0C #1A4D0C #0C4D1F
triadic
#1A4D0C #0C1A4D #4D0C1A
tetradic
#1A4D0C #0C3B4D #3F0C4D #4D1F0C
square
#1A4D0C #0C3B4D #3F0C4D #4D1F0C
split-complementary
#1A4D0C #1F0C4D #4D0C3B
monochromatic
#091A04 #091A04 #1A4D0C #2C8214 #3EB71D

Accessibility & contrast

On white

9.95
#1A4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D0C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D0C#FFFFFF#000000##FFFFFF
##1A4D0C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#134A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a4d0c;
/* rgb */ color: rgb(26, 77, 12);
/* oklch */ color: oklch(37.2% 0.108 140.0);
Tailwind
colors: {
  custom: {
    50: '#5e7f50',
    500: '#1a4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d0c;
$custom-light: #5e7f50;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d0c",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 107.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.10836,
    "h": 140
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#1A4D0C
secondary
#752C89
accent
#38F0C8
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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