#1A4E2F#1A4E2F

#1A4E2F is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.077 H 154.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1A4E2F
RGBrgb(26, 78, 47)
HSLhsl(144, 50%, 20%)
HSVhsv(144, 67%, 31%)
CMYKcmyk(66.7%, 0%, 39.7%, 69.4%)
CIE-LABlab(29.09, -25.46, 13.38)
CIE-LCHlch(29.09, 28.76, 152.29°)
OKLaboklab(37.99% -0.069 0.0335)
OKLCHoklch(37.99% 0.077 154.1)
XYZxyz(3.6632, 5.8733, 3.6294)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E2F #4E1A39
analogous
#1F4E1A #1A4E2F #1A4E49
triadic
#1A4E2F #2F1A4E #4E2F1A
tetradic
#1A4E2F #1A1F4E #4E1A39 #4E491A
square
#1A4E2F #1A1F4E #4E1A39 #4E491A
split-complementary
#1A4E2F #491A4E #4E1A1F
monochromatic
#08170E #0B2013 #1A4E2F #297C4B #39AA66

Accessibility & contrast

On white

9.66
#1A4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4E2F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E2F#FFFFFF#000000##FFFFFF
##1A4E2F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#474331
Tritanopia (blue-blind)
#074D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a4e2f;
/* rgb */ color: rgb(26, 78, 47);
/* oklch */ color: oklch(38.0% 0.077 154.1);
Tailwind
colors: {
  custom: {
    50: '#5d8067',
    500: '#1a4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e2f;
$custom-light: #5d8067;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e2f",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 144.231,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37993,
    "c": 0.07674,
    "h": 154.1
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#1A4E2F
secondary
#844068
accent
#4EA1DA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1A4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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