#1A522F#1A522F

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

Color values

HEX#1A522F
RGBrgb(26, 82, 47)
HSLhsl(143, 52%, 21%)
HSVhsv(143, 68%, 32%)
CMYKcmyk(68.3%, 0%, 42.7%, 67.8%)
CIE-LABlab(30.54, -27.33, 15.31)
CIE-LCHlch(30.54, 31.33, 150.75°)
OKLaboklab(39.18% -0.0739 0.0381)
OKLCHoklch(39.18% 0.083 152.7)
XYZxyz(3.9561, 6.4590, 3.7270)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A522F #521A3D
analogous
#21521A #1A522F #1A524B
triadic
#1A522F #2F1A52 #522F1A
tetradic
#1A522F #1A2152 #521A3D #524B1A
square
#1A522F #1A2152 #521A3D #524B1A
split-complementary
#1A522F #4B1A52 #521A21
monochromatic
#07170D #0B2414 #1A522F #29804A #37AF64

Accessibility & contrast

On white

9.16
#1A522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A522F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A522F#FFFFFF#000000##FFFFFF
##1A522F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a522f;
/* rgb */ color: rgb(26, 82, 47);
/* oklch */ color: oklch(39.2% 0.083 152.7);
Tailwind
colors: {
  custom: {
    50: '#5e8368',
    500: '#1a522f',
    950: '#000000',
  },
}
SCSS
$custom: #1a522f;
$custom-light: #5e8368;
$custom-dark: #000000;
JSON
{
  "hex": "#1a522f",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 142.5,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.08318,
    "h": 152.7
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#1A522F
secondary
#88406D
accent
#4CA6DB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1A522F

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

Preview Lab → · Contrast checker → · Palette generator →

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