#18742B#18742B

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

Color values

HEX#18742B
RGBrgb(24, 116, 43)
HSLhsl(132, 66%, 27%)
HSVhsv(132, 79%, 45%)
CMYKcmyk(79.3%, 0%, 62.9%, 54.5%)
CIE-LABlab(42.55, -42.21, 32.34)
CIE-LCHlch(42.55, 53.18, 142.54°)
OKLaboklab(49.07% -0.1137 0.0762)
OKLCHoklch(49.07% 0.137 146.2)
XYZxyz(7.0576, 12.8586, 4.3950)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18742B #741861
analogous
#337418 #18742B #187459
triadic
#18742B #2B1874 #742B18
tetradic
#18742B #183374 #741861 #745918
square
#18742B #183374 #741861 #745918
split-complementary
#18742B #591874 #741833
monochromatic
#051909 #0E4118 #18742B #22A73E #32D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18742B#FFFFFF#000000##FFFFFF
##18742B1.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)
#766923
Deuteranopia (green-blind)
#6B6231
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18742b;
/* rgb */ color: rgb(24, 116, 43);
/* oklch */ color: oklch(49.1% 0.137 146.2);
Tailwind
colors: {
  custom: {
    50: '#669d67',
    500: '#18742b',
    950: '#000000',
  },
}
SCSS
$custom: #18742b;
$custom-light: #669d67;
$custom-dark: #000000;
JSON
{
  "hex": "#18742b",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 43
  },
  "hsl": {
    "h": 132.391,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.13686,
    "h": 146.2
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#18742B
secondary
#A93F93
accent
#3FC6E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18742B

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

Preview Lab → · Contrast checker → · Palette generator →

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