#1A4E2C#1A4E2C

#1A4E2C is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.080 H 151.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1A4E2C
RGBrgb(26, 78, 44)
HSLhsl(141, 50%, 20%)
HSVhsv(141, 67%, 31%)
CMYKcmyk(66.7%, 0%, 43.6%, 69.4%)
CIE-LABlab(29.03, -26.11, 15.15)
CIE-LCHlch(29.03, 30.18, 149.88°)
OKLaboklab(37.92% -0.0706 0.0377)
OKLCHoklch(37.92% 0.08 151.9)
XYZxyz(3.6047, 5.8499, 3.3216)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E2C #4E1A3C
analogous
#224E1A #1A4E2C #1A4E46
triadic
#1A4E2C #2C1A4E #4E2C1A
tetradic
#1A4E2C #1A224E #4E1A3C #4E461A
square
#1A4E2C #1A224E #4E1A3C #4E461A
split-complementary
#1A4E2C #461A4E #4E1A22
monochromatic
#08170D #0B2012 #1A4E2C #297C46 #39AA60

Accessibility & contrast

On white

9.68
#1A4E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A4E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E2C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E2C#FFFFFF#000000##FFFFFF
##1A4E2C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#47432E
Tritanopia (blue-blind)
#094D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e2c;
/* rgb */ color: rgb(26, 78, 44);
/* oklch */ color: oklch(37.9% 0.080 151.9);
Tailwind
colors: {
  custom: {
    50: '#5d8065',
    500: '#1a4e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e2c;
$custom-light: #5d8065;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e2c",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 44
  },
  "hsl": {
    "h": 140.769,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.08005,
    "h": 151.9
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#1A4E2C
secondary
#84406C
accent
#4EA9DA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #1A4E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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