#1A522D#1A522D

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

Color values

HEX#1A522D
RGBrgb(26, 82, 45)
HSLhsl(140, 52%, 21%)
HSVhsv(140, 68%, 32%)
CMYKcmyk(68.3%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.50, -27.75, 16.47)
CIE-LCHlch(30.50, 32.27, 149.31°)
OKLaboklab(39.14% -0.075 0.0408)
OKLCHoklch(39.14% 0.085 151.4)
XYZxyz(3.9166, 6.4433, 3.5194)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A522D #521A3F
analogous
#23521A #1A522D #1A5249
triadic
#1A522D #2D1A52 #522D1A
tetradic
#1A522D #1A2352 #521A3F #52491A
square
#1A522D #1A2352 #521A3F #52491A
split-complementary
#1A522D #491A52 #521A23
monochromatic
#07170D #0B2413 #1A522D #298046 #37AF60

Accessibility & contrast

On white

9.18
#1A522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1A522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A522D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A522D#FFFFFF#000000##FFFFFF
##1A522D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2A
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#065149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a522d;
/* rgb */ color: rgb(26, 82, 45);
/* oklch */ color: oklch(39.1% 0.085 151.4);
Tailwind
colors: {
  custom: {
    50: '#5e8366',
    500: '#1a522d',
    950: '#000000',
  },
}
SCSS
$custom: #1a522d;
$custom-light: #5e8366;
$custom-dark: #000000;
JSON
{
  "hex": "#1a522d",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 140.357,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39142,
    "c": 0.08537,
    "h": 151.4
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#1A522D
secondary
#884070
accent
#4CABDB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1A522D

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

Preview Lab → · Contrast checker → · Palette generator →

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