#1A4E12#1A4E12

#1A4E12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.106 H 141.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#1A4E12
RGBrgb(26, 78, 18)
HSLhsl(112, 63%, 19%)
HSVhsv(112, 77%, 31%)
CMYKcmyk(66.7%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.67, -30.11, 29.05)
CIE-LCHlch(28.67, 41.84, 136.03°)
OKLaboklab(37.51% -0.0823 0.0662)
OKLCHoklch(37.51% 0.106 141.2)
XYZxyz(3.2594, 5.7118, 1.5029)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E12 #46124E
analogous
#384E12 #1A4E12 #124E28
triadic
#1A4E12 #121A4E #4E121A
tetradic
#1A4E12 #12384E #46124E #4E2812
square
#1A4E12 #12384E #46124E #4E2812
split-complementary
#1A4E12 #28124E #4E1238
monochromatic
#081906 #091C07 #1A4E12 #2B801D #3BB129

Accessibility & contrast

On white

9.80
#1A4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E12
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E12#FFFFFF#000000##FFFFFF
##1A4E121.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#124B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e12;
/* rgb */ color: rgb(26, 78, 18);
/* oklch */ color: oklch(37.5% 0.106 141.2);
Tailwind
colors: {
  custom: {
    50: '#5e8054',
    500: '#1a4e12',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e12;
$custom-light: #5e8054;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e12",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 112,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37514,
    "c": 0.10565,
    "h": 141.2
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#1A4E12
secondary
#7C3587
accent
#42E6D0
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1A4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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