#18732D#18732D

#18732D is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.134 H 146.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#18732D
RGBrgb(24, 115, 45)
HSLhsl(134, 65%, 27%)
HSVhsv(134, 79%, 45%)
CMYKcmyk(79.1%, 0%, 60.9%, 54.9%)
CIE-LABlab(42.22, -41.57, 30.96)
CIE-LCHlch(42.22, 51.83, 143.33°)
OKLaboklab(48.81% -0.1119 0.0734)
OKLCHoklch(48.81% 0.134 146.8)
XYZxyz(6.9806, 12.6443, 4.5548)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18732D #73185E
analogous
#317318 #18732D #18735B
triadic
#18732D #2D1873 #732D18
tetradic
#18732D #183173 #73185E #735B18
square
#18732D #183173 #73185E #735B18
split-complementary
#18732D #5B1873 #731831
monochromatic
#05190A #0D4019 #18732D #23A641 #31D457

Accessibility & contrast

On white

5.95
#18732D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#18732D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18732D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18732D#FFFFFF#000000##FFFFFF
##18732D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756826
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18732d;
/* rgb */ color: rgb(24, 115, 45);
/* oklch */ color: oklch(48.8% 0.134 146.8);
Tailwind
colors: {
  custom: {
    50: '#659c68',
    500: '#18732d',
    950: '#000000',
  },
}
SCSS
$custom: #18732d;
$custom-light: #659c68;
$custom-dark: #000000;
JSON
{
  "hex": "#18732d",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 45
  },
  "hsl": {
    "h": 133.846,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.13381,
    "h": 146.8
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#18732D
secondary
#A83F90
accent
#3FC1E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18732D

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

Preview Lab → · Contrast checker → · Palette generator →

#18732D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva