#1A5232#1A5232

#1A5232 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.080 H 154.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1A5232
RGBrgb(26, 82, 50)
HSLhsl(146, 52%, 21%)
HSVhsv(146, 68%, 32%)
CMYKcmyk(68.3%, 0%, 39%, 67.8%)
CIE-LABlab(30.60, -26.68, 13.55)
CIE-LCHlch(30.60, 29.93, 153.08°)
OKLaboklab(39.25% -0.0723 0.034)
OKLCHoklch(39.25% 0.08 154.8)
XYZxyz(4.0187, 6.4841, 4.0568)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5232 #521A3A
analogous
#1E521A #1A5232 #1A524E
triadic
#1A5232 #321A52 #52321A
tetradic
#1A5232 #1A1E52 #521A3A #524E1A
square
#1A5232 #1A1E52 #521A3A #524E1A
split-complementary
#1A5232 #4E1A52 #521A1E
monochromatic
#07170E #0B2416 #1A5232 #29804E #37AF6B

Accessibility & contrast

On white

9.14
#1A5232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1A5232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5232
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5232#FFFFFF#000000##FFFFFF
##1A52321.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B30
Deuteranopia (green-blind)
#4A4634
Tritanopia (blue-blind)
#03514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a5232;
/* rgb */ color: rgb(26, 82, 50);
/* oklch */ color: oklch(39.3% 0.080 154.8);
Tailwind
colors: {
  custom: {
    50: '#5e836a',
    500: '#1a5232',
    950: '#000000',
  },
}
SCSS
$custom: #1a5232;
$custom-light: #5e836a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5232",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 50
  },
  "hsl": {
    "h": 145.714,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39254,
    "c": 0.07994,
    "h": 154.8
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#1A5232
secondary
#884069
accent
#4C9EDB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1A5232

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

Preview Lab → · Contrast checker → · Palette generator →

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