#18742E#18742E

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

Color values

HEX#18742E
RGBrgb(24, 116, 46)
HSLhsl(134, 66%, 27%)
HSVhsv(134, 79%, 45%)
CMYKcmyk(79.3%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.58, -41.80, 30.87)
CIE-LCHlch(42.58, 51.96, 143.55°)
OKLaboklab(49.11% -0.1125 0.0733)
OKLCHoklch(49.11% 0.134 146.9)
XYZxyz(7.1147, 12.8814, 4.6956)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18742E #74185E
analogous
#307418 #18742E #18745C
triadic
#18742E #2E1874 #742E18
tetradic
#18742E #183074 #74185E #745C18
square
#18742E #183074 #74185E #745C18
split-complementary
#18742E #5C1874 #741830
monochromatic
#05190A #0E411A #18742E #22A742 #32D559

Accessibility & contrast

On white

5.87
#18742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#18742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18742E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18742E#FFFFFF#000000##FFFFFF
##18742E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18742e;
/* rgb */ color: rgb(24, 116, 46);
/* oklch */ color: oklch(49.1% 0.134 146.9);
Tailwind
colors: {
  custom: {
    50: '#669d69',
    500: '#18742e',
    950: '#000000',
  },
}
SCSS
$custom: #18742e;
$custom-light: #669d69;
$custom-dark: #000000;
JSON
{
  "hex": "#18742e",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 134.348,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.13424,
    "h": 146.9
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#18742E
secondary
#A93F90
accent
#3FC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18742E

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

Preview Lab → · Contrast checker → · Palette generator →

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