#1A8518#1A8518

#1A8518 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.8% C 0.170 H 142.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1A8518
RGBrgb(26, 133, 24)
HSLhsl(119, 69%, 31%)
HSVhsv(119, 82%, 52%)
CMYKcmyk(80.5%, 0%, 82%, 47.8%)
CIE-LABlab(48.33, -49.60, 46.24)
CIE-LCHlch(48.33, 67.81, 137.01°)
OKLaboklab(53.84% -0.1347 0.103)
OKLCHoklch(53.84% 0.17 142.6)
XYZxyz(8.9778, 17.0595, 3.6836)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8518 #831885
analogous
#508518 #1A8518 #18854C
triadic
#1A8518 #181A85 #85181A
tetradic
#1A8518 #185085 #831885 #854C18
square
#1A8518 #185085 #831885 #854C18
split-complementary
#1A8518 #4C1885 #851850
monochromatic
#061D05 #10510F #1A8518 #24B921 #3FDC3C

Accessibility & contrast

On white

4.76
#1A8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#1A8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8518
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8518#FFFFFF#000000##FFFFFF
##1A85181.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1a8518;
/* rgb */ color: rgb(26, 133, 24);
/* oklch */ color: oklch(53.8% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#6caa5f',
    500: '#1a8518',
    950: '#000000',
  },
}
SCSS
$custom: #1a8518;
$custom-light: #6caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8518",
  "rgb": {
    "r": 26,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 118.899,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.16958,
    "h": 142.6
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#1A8518
secondary
#B740B9
accent
#3CECE9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A8518

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

Preview Lab → · Contrast checker → · Palette generator →

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