#18722D#18722D

#18722D is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.132 H 146.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#18722D
RGBrgb(24, 114, 45)
HSLhsl(134, 65%, 27%)
HSVhsv(134, 79%, 45%)
CMYKcmyk(78.9%, 0%, 60.5%, 55.3%)
CIE-LABlab(41.87, -41.20, 30.54)
CIE-LCHlch(41.87, 51.29, 143.45°)
OKLaboklab(48.52% -0.1109 0.0725)
OKLCHoklch(48.52% 0.132 146.8)
XYZxyz(6.8671, 12.4175, 4.5170)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18722D #72185D
analogous
#307218 #18722D #18725A
triadic
#18722D #2D1872 #722D18
tetradic
#18722D #183072 #72185D #725A18
square
#18722D #183072 #72185D #725A18
split-complementary
#18722D #5A1872 #721830
monochromatic
#05190A #0D3F19 #18722D #23A541 #31D457

Accessibility & contrast

On white

6.03
#18722D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#18722D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18722D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18722D#FFFFFF#000000##FFFFFF
##18722D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746726
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18722d;
/* rgb */ color: rgb(24, 114, 45);
/* oklch */ color: oklch(48.5% 0.132 146.8);
Tailwind
colors: {
  custom: {
    50: '#659b68',
    500: '#18722d',
    950: '#000000',
  },
}
SCSS
$custom: #18722d;
$custom-light: #659b68;
$custom-dark: #000000;
JSON
{
  "hex": "#18722d",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 45
  },
  "hsl": {
    "h": 134,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.13248,
    "h": 146.8
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#18722D
secondary
#A73E8F
accent
#40C1E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18722D

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

Preview Lab → · Contrast checker → · Palette generator →

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