#1A5B2E#1A5B2E

#1A5B2E is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.098 H 149.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1A5B2E
RGBrgb(26, 91, 46)
HSLhsl(138, 56%, 23%)
HSVhsv(138, 71%, 36%)
CMYKcmyk(71.4%, 0%, 49.5%, 64.3%)
CIE-LABlab(33.77, -31.53, 20.09)
CIE-LCHlch(33.77, 37.39, 147.49°)
OKLaboklab(41.84% -0.085 0.0492)
OKLCHoklch(41.84% 0.098 149.9)
XYZxyz(4.6599, 7.8985, 3.8632)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5B2E #5B1A47
analogous
#265B1A #1A5B2E #1A5B4F
triadic
#1A5B2E #2E1A5B #5B2E1A
tetradic
#1A5B2E #1A265B #5B1A47 #5B4F1A
square
#1A5B2E #1A265B #5B1A47 #5B4F1A
split-complementary
#1A5B2E #4F1A5B #5B1A26
monochromatic
#07180C #0C2B16 #1A5B2E #288B46 #35BA5E

Accessibility & contrast

On white

8.14
#1A5B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A5B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5B2E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5B2E#FFFFFF#000000##FFFFFF
##1A5B2E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532B
Deuteranopia (green-blind)
#544D31
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5b2e;
/* rgb */ color: rgb(26, 91, 46);
/* oklch */ color: oklch(41.8% 0.098 149.9);
Tailwind
colors: {
  custom: {
    50: '#608a67',
    500: '#1a5b2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a5b2e;
$custom-light: #608a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5b2e",
  "rgb": {
    "r": 26,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 138.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.09824,
    "h": 149.9
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#1A5B2E
secondary
#914078
accent
#49B1DF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #1A5B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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