#1A4A2F#1A4A2F

#1A4A2F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.8% C 0.070 H 155.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1A4A2F
RGBrgb(26, 74, 47)
HSLhsl(146, 48%, 20%)
HSVhsv(146, 65%, 29%)
CMYKcmyk(64.9%, 0%, 36.5%, 71%)
CIE-LABlab(27.63, -23.53, 11.41)
CIE-LCHlch(27.63, 26.15, 154.13°)
OKLaboklab(36.8% -0.064 0.0288)
OKLCHoklch(36.8% 0.07 155.8)
XYZxyz(3.3876, 5.3221, 3.5375)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A2F #4A1A35
analogous
#1D4A1A #1A4A2F #1A4A47
triadic
#1A4A2F #2F1A4A #4A2F1A
tetradic
#1A4A2F #1A1D4A #4A1A35 #4A471A
square
#1A4A2F #1A1D4A #4A1A35 #4A471A
split-complementary
#1A4A2F #471A4A #4A1A1D
monochromatic
#08170E #0A1D12 #1A4A2F #2A774C #3AA569

Accessibility & contrast

On white

10.17
#1A4A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A4A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A2F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A2F#FFFFFF#000000##FFFFFF
##1A4A2F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442D
Deuteranopia (green-blind)
#433F31
Tritanopia (blue-blind)
#094943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a4a2f;
/* rgb */ color: rgb(26, 74, 47);
/* oklch */ color: oklch(36.8% 0.070 155.8);
Tailwind
colors: {
  custom: {
    50: '#5c7d67',
    500: '#1a4a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a2f;
$custom-light: #5c7d67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a2f",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 146.25,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.07018,
    "h": 155.8
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#1A4A2F
secondary
#804064
accent
#509CD8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1A4A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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