#18A12D#18A12D

#18A12D is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.8% C 0.189 H 144.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#18A12D
RGBrgb(24, 161, 45)
HSLhsl(129, 74%, 36%)
HSVhsv(129, 85%, 63%)
CMYKcmyk(85.1%, 0%, 72%, 36.9%)
CIE-LABlab(57.92, -57.12, 48.25)
CIE-LCHlch(57.92, 74.77, 139.81°)
OKLaboklab(61.85% -0.1542 0.1101)
OKLCHoklch(61.85% 0.189 144.5)
XYZxyz(13.5942, 25.8717, 6.7594)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A12D #A1188C
analogous
#48A118 #18A12D #18A172
triadic
#18A12D #2D18A1 #A12D18
tetradic
#18A12D #1848A1 #A1188C #A17218
square
#18A12D #1848A1 #A1188C #A17218
split-complementary
#18A12D #7218A1 #A11848
monochromatic
#08360F #106C1E #18A12D #20D63C #4FE566

Accessibility & contrast

On white

3.40
#18A12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#18A12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A12D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A12D#FFFFFF#000000##000000
##18A12D1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911A
Deuteranopia (green-blind)
#968739
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a12d;
/* rgb */ color: rgb(24, 161, 45);
/* oklch */ color: oklch(61.8% 0.189 144.5);
Tailwind
colors: {
  custom: {
    50: '#72be6d',
    500: '#18a12d',
    950: '#000000',
  },
}
SCSS
$custom: #18a12d;
$custom-light: #72be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#18a12d",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 129.197,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61849,
    "c": 0.18942,
    "h": 144.5
  },
  "luminance": 0.25873
}

Semantic roles & 50–950 ramp

primary
#18A12D
secondary
#C74EB4
accent
#37D4F1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #18A12D

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

Preview Lab → · Contrast checker → · Palette generator →

#18A12D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva