#1A8B18#1A8B18

#1A8B18 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.176 H 142.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1A8B18
RGBrgb(26, 139, 24)
HSLhsl(119, 71%, 32%)
HSVhsv(119, 83%, 55%)
CMYKcmyk(81.3%, 0%, 82.7%, 45.5%)
CIE-LABlab(50.39, -51.54, 48.18)
CIE-LCHlch(50.39, 70.55, 136.93°)
OKLaboklab(55.56% -0.14 0.1071)
OKLCHoklch(55.56% 0.176 142.6)
XYZxyz(9.8229, 18.7496, 3.9653)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8B18 #89188B
analogous
#538B18 #1A8B18 #188B50
triadic
#1A8B18 #181A8B #8B181A
tetradic
#1A8B18 #18538B #89188B #8B5018
square
#1A8B18 #18538B #89188B #8B5018
split-complementary
#1A8B18 #50188B #8B1853
monochromatic
#062306 #10570F #1A8B18 #24BF21 #42DE3F

Accessibility & contrast

On white

4.42
#1A8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1A8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8B18
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8B18#FFFFFF#000000##000000
##1A8B181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1a8b18;
/* rgb */ color: rgb(26, 139, 24);
/* oklch */ color: oklch(55.6% 0.176 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dae60',
    500: '#1a8b18',
    950: '#000000',
  },
}
SCSS
$custom: #1a8b18;
$custom-light: #6dae60;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8b18",
  "rgb": {
    "r": 26,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 118.957,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.17621,
    "h": 142.6
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#1A8B18
secondary
#BC40BE
accent
#3AEDEA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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