#1A8F18#1A8F18

#1A8F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.181 H 142.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1A8F18
RGBrgb(26, 143, 24)
HSLhsl(119, 71%, 33%)
HSVhsv(119, 83%, 56%)
CMYKcmyk(81.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.76, -52.81, 49.45)
CIE-LCHlch(51.76, 72.35, 136.88°)
OKLaboklab(56.69% -0.1434 0.1097)
OKLCHoklch(56.69% 0.181 142.6)
XYZxyz(10.4127, 19.9292, 4.1619)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F18 #8D188F
analogous
#558F18 #1A8F18 #188F52
triadic
#1A8F18 #181A8F #8F181A
tetradic
#1A8F18 #18558F #8D188F #8F5218
square
#1A8F18 #18558F #8D188F #8F5218
split-complementary
#1A8F18 #52188F #8F1855
monochromatic
#072606 #105B0F #1A8F18 #24C321 #45DF42

Accessibility & contrast

On white

4.21
#1A8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1A8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8F18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8F18#FFFFFF#000000##000000
##1A8F181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1a8f18;
/* rgb */ color: rgb(26, 143, 24);
/* oklch */ color: oklch(56.7% 0.181 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#1a8f18',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f18;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f18",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 118.992,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.18058,
    "h": 142.6
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#1A8F18
secondary
#BE43C0
accent
#3AEEEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1A8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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