#18722F#18722F

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

Color values

HEX#18722F
RGBrgb(24, 114, 47)
HSLhsl(135, 65%, 27%)
HSVhsv(135, 79%, 45%)
CMYKcmyk(78.9%, 0%, 58.8%, 55.3%)
CIE-LABlab(41.90, -40.91, 29.54)
CIE-LCHlch(41.90, 50.46, 144.16°)
OKLaboklab(48.55% -0.1101 0.0704)
OKLCHoklch(48.55% 0.131 147.4)
XYZxyz(6.9066, 12.4332, 4.7246)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18722F #72185B
analogous
#2E7218 #18722F #18725C
triadic
#18722F #2F1872 #722F18
tetradic
#18722F #182E72 #72185B #725C18
square
#18722F #182E72 #72185B #725C18
split-complementary
#18722F #5C1872 #72182E
monochromatic
#05190A #0D3F1A #18722F #23A544 #31D45A

Accessibility & contrast

On white

6.02
#18722F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#18722F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18722F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18722F#FFFFFF#000000##FFFFFF
##18722F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18722f;
/* rgb */ color: rgb(24, 114, 47);
/* oklch */ color: oklch(48.5% 0.131 147.4);
Tailwind
colors: {
  custom: {
    50: '#659b69',
    500: '#18722f',
    950: '#000000',
  },
}
SCSS
$custom: #18722f;
$custom-light: #659b69;
$custom-dark: #000000;
JSON
{
  "hex": "#18722f",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 135.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.13067,
    "h": 147.4
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#18722F
secondary
#A73E8D
accent
#40BDE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18722F

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

Preview Lab → · Contrast checker → · Palette generator →

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