#1A8A18#1A8A18

#1A8A18 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.175 H 142.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1A8A18
RGBrgb(26, 138, 24)
HSLhsl(119, 70%, 32%)
HSVhsv(119, 83%, 54%)
CMYKcmyk(81.2%, 0%, 82.6%, 45.9%)
CIE-LABlab(50.05, -51.22, 47.86)
CIE-LCHlch(50.05, 70.09, 136.94°)
OKLaboklab(55.27% -0.1391 0.1064)
OKLCHoklch(55.27% 0.175 142.6)
XYZxyz(9.6787, 18.4614, 3.9173)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8A18 #88188A
analogous
#538A18 #1A8A18 #188A4F
triadic
#1A8A18 #181A8A #8A181A
tetradic
#1A8A18 #18538A #88188A #8A4F18
square
#1A8A18 #18538A #88188A #8A4F18
split-complementary
#1A8A18 #4F188A #8A1853
monochromatic
#062206 #10560F #1A8A18 #24BE21 #42DE3F

Accessibility & contrast

On white

4.48
#1A8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#1A8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8A18
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8A18#FFFFFF#000000##000000
##1A8A181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1a8a18;
/* rgb */ color: rgb(26, 138, 24);
/* oklch */ color: oklch(55.3% 0.175 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dad60',
    500: '#1a8a18',
    950: '#000000',
  },
}
SCSS
$custom: #1a8a18;
$custom-light: #6dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8a18",
  "rgb": {
    "r": 26,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 118.947,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.17511,
    "h": 142.6
  },
  "luminance": 0.18463
}

Semantic roles & 50–950 ramp

primary
#1A8A18
secondary
#BB40BD
accent
#3BEDEA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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