#18942D#18942D

#18942D is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.2% C 0.175 H 144.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#18942D
RGBrgb(24, 148, 45)
HSLhsl(130, 72%, 34%)
HSVhsv(130, 84%, 58%)
CMYKcmyk(83.8%, 0%, 69.6%, 42%)
CIE-LABlab(53.56, -52.96, 43.65)
CIE-LCHlch(53.56, 68.63, 140.50°)
OKLaboklab(58.23% -0.1428 0.1004)
OKLCHoklch(58.23% 0.175 144.9)
XYZxyz(11.4394, 21.5620, 6.0411)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18942D #94187F
analogous
#419418 #18942D #18946B
triadic
#18942D #2D1894 #942D18
tetradic
#18942D #184194 #94187F #946B18
square
#18942D #184194 #94187F #946B18
split-complementary
#18942D #6B1894 #941841
monochromatic
#072B0D #0F5F1D #18942D #21C93D #45E160

Accessibility & contrast

On white

3.95
#18942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#18942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18942D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18942D#FFFFFF#000000##000000
##18942D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8A7C37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #18942d;
/* rgb */ color: rgb(24, 148, 45);
/* oklch */ color: oklch(58.2% 0.175 144.9);
Tailwind
colors: {
  custom: {
    50: '#6eb56b',
    500: '#18942d',
    950: '#000000',
  },
}
SCSS
$custom: #18942d;
$custom-light: #6eb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#18942d",
  "rgb": {
    "r": 24,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 130.161,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.17461,
    "h": 144.9
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#18942D
secondary
#C246AD
accent
#39D0EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #18942D

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

Preview Lab → · Contrast checker → · Palette generator →

#18942D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva