#1A5A2F#1A5A2F

#1A5A2F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.096 H 150.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1A5A2F
RGBrgb(26, 90, 47)
HSLhsl(140, 55%, 23%)
HSVhsv(140, 71%, 35%)
CMYKcmyk(71.1%, 0%, 47.8%, 64.7%)
CIE-LABlab(33.43, -30.91, 19.07)
CIE-LCHlch(33.43, 36.32, 148.33°)
OKLaboklab(41.56% -0.0834 0.0469)
OKLCHoklch(41.56% 0.096 150.6)
XYZxyz(4.5949, 7.7367, 3.9399)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5A2F #5A1A45
analogous
#255A1A #1A5A2F #1A5A4F
triadic
#1A5A2F #2F1A5A #5A2F1A
tetradic
#1A5A2F #1A255A #5A1A45 #5A4F1A
square
#1A5A2F #1A255A #5A1A45 #5A4F1A
split-complementary
#1A5A2F #4F1A5A #5A1A25
monochromatic
#07180C #0C2B16 #1A5A2F #288948 #35B961

Accessibility & contrast

On white

8.24
#1A5A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1A5A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5A2F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5A2F#FFFFFF#000000##FFFFFF
##1A5A2F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#524C32
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5a2f;
/* rgb */ color: rgb(26, 90, 47);
/* oklch */ color: oklch(41.6% 0.096 150.6);
Tailwind
colors: {
  custom: {
    50: '#608968',
    500: '#1a5a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a5a2f;
$custom-light: #608968;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5a2f",
  "rgb": {
    "r": 26,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 139.688,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.09567,
    "h": 150.6
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#1A5A2F
secondary
#904076
accent
#49AEDF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1A5A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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