#18942C#18942C

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

Color values

HEX#18942C
RGBrgb(24, 148, 44)
HSLhsl(130, 72%, 34%)
HSVhsv(130, 84%, 58%)
CMYKcmyk(83.8%, 0%, 70.3%, 42%)
CIE-LABlab(53.55, -53.06, 44.06)
CIE-LCHlch(53.55, 68.97, 140.30°)
OKLaboklab(58.22% -0.1431 0.1012)
OKLCHoklch(58.22% 0.175 144.8)
XYZxyz(11.4204, 21.5544, 5.9409)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18942C #941880
analogous
#429418 #18942C #18946A
triadic
#18942C #2C1894 #942C18
tetradic
#18942C #184294 #941880 #946A18
square
#18942C #184294 #941880 #946A18
split-complementary
#18942C #6A1894 #941842
monochromatic
#072B0D #0F5F1C #18942C #21C93C #45E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18942C#FFFFFF#000000##000000
##18942C1.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)
#97851D
Deuteranopia (green-blind)
#8A7C36
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #18942c;
/* rgb */ color: rgb(24, 148, 44);
/* oklch */ color: oklch(58.2% 0.175 144.8);
Tailwind
colors: {
  custom: {
    50: '#6eb56b',
    500: '#18942c',
    950: '#000000',
  },
}
SCSS
$custom: #18942c;
$custom-light: #6eb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#18942c",
  "rgb": {
    "r": 24,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 129.677,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.17529,
    "h": 144.8
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#18942C
secondary
#C246AE
accent
#39D1EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #18942C

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

Preview Lab → · Contrast checker → · Palette generator →

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