#1A4E1F#1A4E1F

#1A4E1F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.094 H 145.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#1A4E1F
RGBrgb(26, 78, 31)
HSLhsl(126, 50%, 20%)
HSVhsv(126, 67%, 31%)
CMYKcmyk(66.7%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.82, -28.47, 22.55)
CIE-LCHlch(28.82, 36.32, 141.62°)
OKLaboklab(37.68% -0.0771 0.0538)
OKLCHoklch(37.68% 0.094 145.1)
XYZxyz(3.3975, 5.7670, 2.2302)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E1F #4E1A49
analogous
#2F4E1A #1A4E1F #1A4E39
triadic
#1A4E1F #1F1A4E #4E1F1A
tetradic
#1A4E1F #1A2F4E #4E1A49 #4E391A
square
#1A4E1F #1A2F4E #4E1A49 #4E391A
split-complementary
#1A4E1F #391A4E #4E1A2F
monochromatic
#081709 #0B200D #1A4E1F #297C31 #39AA43

Accessibility & contrast

On white

9.75
#1A4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4E1F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E1F#FFFFFF#000000##FFFFFF
##1A4E1F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471B
Deuteranopia (green-blind)
#494223
Tritanopia (blue-blind)
#0F4C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e1f;
/* rgb */ color: rgb(26, 78, 31);
/* oklch */ color: oklch(37.7% 0.094 145.1);
Tailwind
colors: {
  custom: {
    50: '#5d805c',
    500: '#1a4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e1f;
$custom-light: #5d805c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e1f",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 125.769,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.09403,
    "h": 145.1
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#1A4E1F
secondary
#84407E
accent
#4ECCDA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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