#18722B#18722B

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

Color values

HEX#18722B
RGBrgb(24, 114, 43)
HSLhsl(133, 65%, 27%)
HSVhsv(133, 79%, 45%)
CMYKcmyk(78.9%, 0%, 62.3%, 55.3%)
CIE-LABlab(41.85, -41.48, 31.53)
CIE-LCHlch(41.85, 52.10, 142.76°)
OKLaboklab(48.49% -0.1117 0.0744)
OKLCHoklch(48.49% 0.134 146.3)
XYZxyz(6.8295, 12.4024, 4.3190)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18722B #72185F
analogous
#327218 #18722B #187258
triadic
#18722B #2B1872 #722B18
tetradic
#18722B #183272 #72185F #725818
square
#18722B #183272 #72185F #725818
split-complementary
#18722B #581872 #721832
monochromatic
#05190A #0D3F18 #18722B #23A53E #31D453

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18722B#FFFFFF#000000##FFFFFF
##18722B1.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)
#746724
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18722b;
/* rgb */ color: rgb(24, 114, 43);
/* oklch */ color: oklch(48.5% 0.134 146.3);
Tailwind
colors: {
  custom: {
    50: '#659b67',
    500: '#18722b',
    950: '#000000',
  },
}
SCSS
$custom: #18722b;
$custom-light: #659b67;
$custom-dark: #000000;
JSON
{
  "hex": "#18722b",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 132.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.13425,
    "h": 146.3
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#18722B
secondary
#A73E91
accent
#40C5E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18722B

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

Preview Lab → · Contrast checker → · Palette generator →

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