#18742A#18742A

#18742A is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.138 H 146.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#18742A
RGBrgb(24, 116, 42)
HSLhsl(132, 66%, 27%)
HSVhsv(132, 79%, 45%)
CMYKcmyk(79.3%, 0%, 63.8%, 54.5%)
CIE-LABlab(42.54, -42.34, 32.82)
CIE-LCHlch(42.54, 53.58, 142.22°)
OKLaboklab(49.06% -0.1141 0.0771)
OKLCHoklch(49.06% 0.138 146)
XYZxyz(7.0395, 12.8513, 4.2996)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18742A #741862
analogous
#347418 #18742A #187458
triadic
#18742A #2A1874 #742A18
tetradic
#18742A #183474 #741862 #745818
square
#18742A #183474 #741862 #745818
split-complementary
#18742A #581874 #741834
monochromatic
#051909 #0E4118 #18742A #22A73C #32D552

Accessibility & contrast

On white

5.88
#18742A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#18742A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18742A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18742A#FFFFFF#000000##FFFFFF
##18742A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766922
Deuteranopia (green-blind)
#6B6230
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18742a;
/* rgb */ color: rgb(24, 116, 42);
/* oklch */ color: oklch(49.1% 0.138 146.0);
Tailwind
colors: {
  custom: {
    50: '#669d66',
    500: '#18742a',
    950: '#000000',
  },
}
SCSS
$custom: #18742a;
$custom-light: #669d66;
$custom-dark: #000000;
JSON
{
  "hex": "#18742a",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 42
  },
  "hsl": {
    "h": 131.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.13772,
    "h": 146
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#18742A
secondary
#A93F94
accent
#3FC7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18742A

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

Preview Lab → · Contrast checker → · Palette generator →

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