#1A522E#1A522E

#1A522E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.084 H 152.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#1A522E
RGBrgb(26, 82, 46)
HSLhsl(141, 52%, 21%)
HSVhsv(141, 68%, 32%)
CMYKcmyk(68.3%, 0%, 43.9%, 67.8%)
CIE-LABlab(30.52, -27.54, 15.89)
CIE-LCHlch(30.52, 31.80, 150.02°)
OKLaboklab(39.16% -0.0745 0.0395)
OKLCHoklch(39.16% 0.084 152.1)
XYZxyz(3.9361, 6.4511, 3.6220)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A522E #521A3E
analogous
#22521A #1A522E #1A524A
triadic
#1A522E #2E1A52 #522E1A
tetradic
#1A522E #1A2252 #521A3E #524A1A
square
#1A522E #1A2252 #521A3E #524A1A
split-complementary
#1A522E #4A1A52 #521A22
monochromatic
#07170D #0B2414 #1A522E #298048 #37AF62

Accessibility & contrast

On white

9.17
#1A522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A522E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A522E#FFFFFF#000000##FFFFFF
##1A522E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#055149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a522e;
/* rgb */ color: rgb(26, 82, 46);
/* oklch */ color: oklch(39.2% 0.084 152.1);
Tailwind
colors: {
  custom: {
    50: '#5e8367',
    500: '#1a522e',
    950: '#000000',
  },
}
SCSS
$custom: #1a522e;
$custom-light: #5e8367;
$custom-dark: #000000;
JSON
{
  "hex": "#1a522e",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 141.429,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.08428,
    "h": 152.1
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#1A522E
secondary
#88406E
accent
#4CA8DB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1A522E

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

Preview Lab → · Contrast checker → · Palette generator →

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