#1A4E0C#1A4E0C

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

Color values

HEX#1A4E0C
RGBrgb(26, 78, 12)
HSLhsl(107, 73%, 18%)
HSVhsv(107, 85%, 31%)
CMYKcmyk(66.7%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.63, -30.63, 31.50)
CIE-LCHlch(28.63, 43.94, 134.20°)
OKLaboklab(37.46% -0.0841 0.0704)
OKLCHoklch(37.46% 0.11 140.1)
XYZxyz(3.2166, 5.6946, 1.2774)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E0C #400C4E
analogous
#3B4E0C #1A4E0C #0C4E1F
triadic
#1A4E0C #0C1A4E #4E0C1A
tetradic
#1A4E0C #0C3B4E #400C4E #4E1F0C
square
#1A4E0C #0C3B4E #400C4E #4E1F0C
split-complementary
#1A4E0C #1F0C4E #4E0C3B
monochromatic
#091B04 #091B04 #1A4E0C #2C8314 #3DB81C

Accessibility & contrast

On white

9.82
#1A4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4E0C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E0C#FFFFFF#000000##FFFFFF
##1A4E0C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#134B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a4e0c;
/* rgb */ color: rgb(26, 78, 12);
/* oklch */ color: oklch(37.5% 0.110 140.1);
Tailwind
colors: {
  custom: {
    50: '#5e8051',
    500: '#1a4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e0c;
$custom-light: #5e8051;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e0c",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 107.273,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.10969,
    "h": 140.1
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#1A4E0C
secondary
#762C8A
accent
#38F0C9
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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