#1A522C#1A522C

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

Color values

HEX#1A522C
RGBrgb(26, 82, 44)
HSLhsl(139, 52%, 21%)
HSVhsv(139, 68%, 32%)
CMYKcmyk(68.3%, 0%, 46.3%, 67.8%)
CIE-LABlab(30.49, -27.95, 17.05)
CIE-LCHlch(30.49, 32.74, 148.62°)
OKLaboklab(39.12% -0.0755 0.0421)
OKLCHoklch(39.12% 0.086 150.8)
XYZxyz(3.8976, 6.4357, 3.4192)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A522C #521A40
analogous
#24521A #1A522C #1A5248
triadic
#1A522C #2C1A52 #522C1A
tetradic
#1A522C #1A2452 #521A40 #52481A
square
#1A522C #1A2452 #521A40 #52481A
split-complementary
#1A522C #481A52 #521A24
monochromatic
#07170C #0B2413 #1A522C #298045 #37AF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A522C#FFFFFF#000000##FFFFFF
##1A522C1.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)
#524B29
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#075149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a522c;
/* rgb */ color: rgb(26, 82, 44);
/* oklch */ color: oklch(39.1% 0.086 150.8);
Tailwind
colors: {
  custom: {
    50: '#5e8365',
    500: '#1a522c',
    950: '#000000',
  },
}
SCSS
$custom: #1a522c;
$custom-light: #5e8365;
$custom-dark: #000000;
JSON
{
  "hex": "#1a522c",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 139.286,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.08646,
    "h": 150.8
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#1A522C
secondary
#884071
accent
#4CADDB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #1A522C

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

Preview Lab → · Contrast checker → · Palette generator →

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