#1A522B#1A522B

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

Color values

HEX#1A522B
RGBrgb(26, 82, 43)
HSLhsl(138, 52%, 21%)
HSVhsv(138, 68%, 32%)
CMYKcmyk(68.3%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.47, -28.15, 17.63)
CIE-LCHlch(30.47, 33.21, 147.94°)
OKLaboklab(39.1% -0.076 0.0434)
OKLCHoklch(39.1% 0.088 150.3)
XYZxyz(3.8790, 6.4282, 3.3214)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A522B #521A41
analogous
#25521A #1A522B #1A5247
triadic
#1A522B #2B1A52 #522B1A
tetradic
#1A522B #1A2552 #521A41 #52471A
square
#1A522B #1A2552 #521A41 #52471A
split-complementary
#1A522B #471A52 #521A25
monochromatic
#07170C #0B2413 #1A522B #298043 #37AF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A522B#FFFFFF#000000##FFFFFF
##1A522B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#4B462E
Tritanopia (blue-blind)
#075149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a522b;
/* rgb */ color: rgb(26, 82, 43);
/* oklch */ color: oklch(39.1% 0.088 150.3);
Tailwind
colors: {
  custom: {
    50: '#5e8365',
    500: '#1a522b',
    950: '#000000',
  },
}
SCSS
$custom: #1a522b;
$custom-light: #5e8365;
$custom-dark: #000000;
JSON
{
  "hex": "#1a522b",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 138.214,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.391,
    "c": 0.08754,
    "h": 150.3
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#1A522B
secondary
#884072
accent
#4CB0DB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #1A522B

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

Preview Lab → · Contrast checker → · Palette generator →

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