#1A8418#1A8418

#1A8418 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.168 H 142.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1A8418
RGBrgb(26, 132, 24)
HSLhsl(119, 69%, 31%)
HSVhsv(119, 82%, 52%)
CMYKcmyk(80.3%, 0%, 81.8%, 48.2%)
CIE-LABlab(47.99, -49.27, 45.91)
CIE-LCHlch(47.99, 67.34, 137.02°)
OKLaboklab(53.56% -0.1338 0.1023)
OKLCHoklch(53.56% 0.168 142.6)
XYZxyz(8.8416, 16.7870, 3.6382)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8418 #821884
analogous
#508418 #1A8418 #18844C
triadic
#1A8418 #181A84 #84181A
tetradic
#1A8418 #185084 #821884 #844C18
square
#1A8418 #185084 #821884 #844C18
split-complementary
#1A8418 #4C1884 #841850
monochromatic
#061C05 #10500F #1A8418 #24B821 #3EDB3B

Accessibility & contrast

On white

4.82
#1A8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1A8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8418
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8418#FFFFFF#000000##FFFFFF
##1A84181.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1a8418;
/* rgb */ color: rgb(26, 132, 24);
/* oklch */ color: oklch(53.6% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca95f',
    500: '#1a8418',
    950: '#000000',
  },
}
SCSS
$custom: #1a8418;
$custom-light: #6ca95f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8418",
  "rgb": {
    "r": 26,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 118.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.16846,
    "h": 142.6
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A8418

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

Preview Lab → · Contrast checker → · Palette generator →

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