#1A582D#1A582D

#1A582D is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.095 H 150.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1A582D
RGBrgb(26, 88, 45)
HSLhsl(138, 54%, 22%)
HSVhsv(138, 70%, 35%)
CMYKcmyk(70.5%, 0%, 48.9%, 65.5%)
CIE-LABlab(32.67, -30.42, 19.28)
CIE-LCHlch(32.67, 36.02, 147.64°)
OKLaboklab(40.93% -0.0821 0.0473)
OKLCHoklch(40.93% 0.095 150)
XYZxyz(4.3890, 7.3881, 3.6768)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A582D #581A45
analogous
#26581A #1A582D #1A584C
triadic
#1A582D #2D1A58 #582D1A
tetradic
#1A582D #1A2658 #581A45 #584C1A
square
#1A582D #1A2658 #581A45 #584C1A
split-complementary
#1A582D #4C1A58 #581A26
monochromatic
#07180C #0C2915 #1A582D #288745 #36B65D

Accessibility & contrast

On white

8.48
#1A582D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1A582D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A582D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A582D#FFFFFF#000000##FFFFFF
##1A582D1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59502A
Deuteranopia (green-blind)
#514B30
Tritanopia (blue-blind)
#03564E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a582d;
/* rgb */ color: rgb(26, 88, 45);
/* oklch */ color: oklch(40.9% 0.095 150.0);
Tailwind
colors: {
  custom: {
    50: '#5f8866',
    500: '#1a582d',
    950: '#000000',
  },
}
SCSS
$custom: #1a582d;
$custom-light: #5f8866;
$custom-dark: #000000;
JSON
{
  "hex": "#1a582d",
  "rgb": {
    "r": 26,
    "g": 88,
    "b": 45
  },
  "hsl": {
    "h": 138.387,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.09473,
    "h": 150
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#1A582D
secondary
#8E4076
accent
#4AB0DE
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1A582D

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

Preview Lab → · Contrast checker → · Palette generator →

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