#18942A#18942A

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

Color values

HEX#18942A
RGBrgb(24, 148, 42)
HSLhsl(129, 72%, 34%)
HSVhsv(129, 84%, 58%)
CMYKcmyk(83.8%, 0%, 71.6%, 42%)
CIE-LABlab(53.54, -53.26, 44.86)
CIE-LCHlch(53.54, 69.64, 139.89°)
OKLaboklab(58.2% -0.1438 0.1026)
OKLCHoklch(58.2% 0.177 144.5)
XYZxyz(11.3837, 21.5398, 5.7477)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18942A #941882
analogous
#449418 #18942A #189468
triadic
#18942A #2A1894 #942A18
tetradic
#18942A #184494 #941882 #946818
square
#18942A #184494 #941882 #946818
split-complementary
#18942A #681894 #941844
monochromatic
#072B0C #0F5F1B #18942A #21C939 #45E15C

Accessibility & contrast

On white

3.96
#18942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##18942A#FFFFFF#000000##000000
##18942A1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851A
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #18942a;
/* rgb */ color: rgb(24, 148, 42);
/* oklch */ color: oklch(58.2% 0.177 144.5);
Tailwind
colors: {
  custom: {
    50: '#6eb56a',
    500: '#18942a',
    950: '#000000',
  },
}
SCSS
$custom: #18942a;
$custom-light: #6eb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#18942a",
  "rgb": {
    "r": 24,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 128.71,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.17663,
    "h": 144.5
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#18942A
secondary
#C246B0
accent
#39D4EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #18942A

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

Preview Lab → · Contrast checker → · Palette generator →

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