#1A8D2D#1A8D2D

#1A8D2D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.166 H 145.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1A8D2D
RGBrgb(26, 141, 45)
HSLhsl(130, 69%, 33%)
HSVhsv(130, 82%, 55%)
CMYKcmyk(81.6%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.22, -50.40, 41.13)
CIE-LCHlch(51.22, 65.05, 140.79°)
OKLaboklab(56.29% -0.1359 0.0951)
OKLCHoklch(56.29% 0.166 145)
XYZxyz(10.4238, 19.4576, 5.6884)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8D2D #8D1A7A
analogous
#408D1A #1A8D2D #1A8D66
triadic
#1A8D2D #2D1A8D #8D2D1A
tetradic
#1A8D2D #1A408D #8D1A7A #8D661A
square
#1A8D2D #1A408D #8D1A7A #8D661A
split-complementary
#1A8D2D #661A8D #8D1A40
monochromatic
#07260C #10591D #1A8D2D #24C13D #45DD5E

Accessibility & contrast

On white

4.29
#1A8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1A8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8D2D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8D2D#FFFFFF#000000##000000
##1A8D2D1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F20
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1a8d2d;
/* rgb */ color: rgb(26, 141, 45);
/* oklch */ color: oklch(56.3% 0.166 145.0);
Tailwind
colors: {
  custom: {
    50: '#6daf6b',
    500: '#1a8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a8d2d;
$custom-light: #6daf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8d2d",
  "rgb": {
    "r": 26,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 129.913,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.16591,
    "h": 145
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#1A8D2D
secondary
#BE45AA
accent
#3CCFEC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1A8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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