#1A852A#1A852A

#1A852A is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.158 H 144.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1A852A
RGBrgb(26, 133, 42)
HSLhsl(129, 67%, 31%)
HSVhsv(129, 80%, 52%)
CMYKcmyk(80.5%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.46, -48.02, 39.45)
CIE-LCHlch(48.46, 62.15, 140.60°)
OKLaboklab(53.99% -0.1296 0.0912)
OKLCHoklch(53.99% 0.158 144.9)
XYZxyz(9.2308, 17.1607, 5.0159)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A852A #851A75
analogous
#3F851A #1A852A #1A855F
triadic
#1A852A #2A1A85 #852A1A
tetradic
#1A852A #1A3F85 #851A75 #855F1A
square
#1A852A #1A3F85 #851A75 #855F1A
split-complementary
#1A852A #5F1A85 #851A3F
monochromatic
#061F0A #10521A #1A852A #24B83A #40DA57

Accessibility & contrast

On white

4.74
#1A852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1A852A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A852A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A852A#FFFFFF#000000##FFFFFF
##1A852A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1a852a;
/* rgb */ color: rgb(26, 133, 42);
/* oklch */ color: oklch(54.0% 0.158 144.9);
Tailwind
colors: {
  custom: {
    50: '#6baa68',
    500: '#1a852a',
    950: '#000000',
  },
}
SCSS
$custom: #1a852a;
$custom-light: #6baa68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a852a",
  "rgb": {
    "r": 26,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 128.972,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.15848,
    "h": 144.9
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#1A852A
secondary
#B842A7
accent
#3ED0EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1A852A

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

Preview Lab → · Contrast checker → · Palette generator →

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