#1A522A#1A522A

#1A522A is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.089 H 149.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1A522A
RGBrgb(26, 82, 42)
HSLhsl(137, 52%, 21%)
HSVhsv(137, 68%, 32%)
CMYKcmyk(68.3%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.45, -28.34, 18.20)
CIE-LCHlch(30.45, 33.68, 147.29°)
OKLaboklab(39.08% -0.0765 0.0447)
OKLCHoklch(39.08% 0.089 149.7)
XYZxyz(3.8609, 6.4210, 3.2259)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A522A #521A42
analogous
#26521A #1A522A #1A5246
triadic
#1A522A #2A1A52 #522A1A
tetradic
#1A522A #1A2652 #521A42 #52461A
square
#1A522A #1A2652 #521A42 #52461A
split-complementary
#1A522A #461A52 #521A26
monochromatic
#07170C #0B2412 #1A522A #298042 #37AF5A

Accessibility & contrast

On white

9.19
#1A522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1A522A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A522A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A522A#FFFFFF#000000##FFFFFF
##1A522A1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#4B462D
Tritanopia (blue-blind)
#085048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a522a;
/* rgb */ color: rgb(26, 82, 42);
/* oklch */ color: oklch(39.1% 0.089 149.7);
Tailwind
colors: {
  custom: {
    50: '#5e8364',
    500: '#1a522a',
    950: '#000000',
  },
}
SCSS
$custom: #1a522a;
$custom-light: #5e8364;
$custom-dark: #000000;
JSON
{
  "hex": "#1a522a",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 137.143,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.08863,
    "h": 149.7
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#1A522A
secondary
#884073
accent
#4CB2DB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #1A522A

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

Preview Lab → · Contrast checker → · Palette generator →

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