#1A4E1C#1A4E1C

#1A4E1C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.097 H 144.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1A4E1C
RGBrgb(26, 78, 28)
HSLhsl(122, 50%, 20%)
HSVhsv(122, 67%, 31%)
CMYKcmyk(66.7%, 0%, 64.1%, 69.4%)
CIE-LABlab(28.78, -28.91, 24.16)
CIE-LCHlch(28.78, 37.68, 140.12°)
OKLaboklab(37.63% -0.0784 0.0571)
OKLCHoklch(37.63% 0.097 144)
XYZxyz(3.3598, 5.7519, 2.0316)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E1C #4E1A4C
analogous
#324E1A #1A4E1C #1A4E36
triadic
#1A4E1C #1C1A4E #4E1C1A
tetradic
#1A4E1C #1A324E #4E1A4C #4E361A
square
#1A4E1C #1A324E #4E1A4C #4E361A
split-complementary
#1A4E1C #361A4E #4E1A32
monochromatic
#081708 #0B200C #1A4E1C #297C2C #39AA3D

Accessibility & contrast

On white

9.77
#1A4E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A4E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E1C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E1C#FFFFFF#000000##FFFFFF
##1A4E1C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#494220
Tritanopia (blue-blind)
#104C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e1c;
/* rgb */ color: rgb(26, 78, 28);
/* oklch */ color: oklch(37.6% 0.097 144.0);
Tailwind
colors: {
  custom: {
    50: '#5d805a',
    500: '#1a4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e1c;
$custom-light: #5d805a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e1c",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 122.308,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37634,
    "c": 0.097,
    "h": 144
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#1A4E1C
secondary
#844082
accent
#4ED4DA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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