#1A5F2E#1A5F2E

#1A5F2E is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.104 H 149.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#1A5F2E
RGBrgb(26, 95, 46)
HSLhsl(137, 57%, 24%)
HSVhsv(137, 73%, 37%)
CMYKcmyk(72.6%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.20, -33.22, 21.91)
CIE-LCHlch(35.20, 39.79, 146.60°)
OKLaboklab(43.02% -0.0895 0.0534)
OKLCHoklch(43.02% 0.104 149.2)
XYZxyz(5.0110, 8.6007, 3.9803)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F2E #5F1A4B
analogous
#285F1A #1A5F2E #1A5F50
triadic
#1A5F2E #2E1A5F #5F2E1A
tetradic
#1A5F2E #1A285F #5F1A4B #5F501A
square
#1A5F2E #1A285F #5F1A4B #5F501A
split-complementary
#1A5F2E #501A5F #5F1A28
monochromatic
#07180C #0D2F17 #1A5F2E #278F45 #34BF5D

Accessibility & contrast

On white

7.72
#1A5F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1A5F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5F2E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F2E#FFFFFF#000000##FFFFFF
##1A5F2E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5f2e;
/* rgb */ color: rgb(26, 95, 46);
/* oklch */ color: oklch(43.0% 0.104 149.2);
Tailwind
colors: {
  custom: {
    50: '#618d67',
    500: '#1a5f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f2e;
$custom-light: #618d67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f2e",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 137.391,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.10422,
    "h": 149.2
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#1A5F2E
secondary
#95407C
accent
#48B4E0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1A5F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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