#1A4C0F#1A4C0F

#1A4C0F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.105 H 140.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1A4C0F
RGBrgb(26, 76, 15)
HSLhsl(109, 67%, 18%)
HSVhsv(109, 80%, 30%)
CMYKcmyk(65.8%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.91, -29.56, 29.58)
CIE-LCHlch(27.91, 41.82, 134.98°)
OKLaboklab(36.87% -0.081 0.0669)
OKLCHoklch(36.87% 0.105 140.4)
XYZxyz(3.0965, 5.4227, 1.3354)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C0F #410F4C
analogous
#384C0F #1A4C0F #0F4C22
triadic
#1A4C0F #0F1A4C #4C0F1A
tetradic
#1A4C0F #0F384C #410F4C #4C220F
square
#1A4C0F #0F384C #410F4C #4C220F
split-complementary
#1A4C0F #220F4C #4C0F38
monochromatic
#091A05 #091A05 #1A4C0F #2B7F19 #3DB223

Accessibility & contrast

On white

10.07
#1A4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C0F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C0F#FFFFFF#000000##FFFFFF
##1A4C0F1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#134940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a4c0f;
/* rgb */ color: rgb(26, 76, 15);
/* oklch */ color: oklch(36.9% 0.105 140.4);
Tailwind
colors: {
  custom: {
    50: '#5e7f52',
    500: '#1a4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c0f;
$custom-light: #5e7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c0f",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 109.18,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.10506,
    "h": 140.4
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#1A4C0F
secondary
#773186
accent
#3EEACB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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