#18722A#18722A

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

Color values

HEX#18722A
RGBrgb(24, 114, 42)
HSLhsl(132, 65%, 27%)
HSVhsv(132, 79%, 45%)
CMYKcmyk(78.9%, 0%, 63.2%, 55.3%)
CIE-LABlab(41.84, -41.62, 32.02)
CIE-LCHlch(41.84, 52.51, 142.43°)
OKLaboklab(48.48% -0.1121 0.0754)
OKLCHoklch(48.48% 0.135 146.1)
XYZxyz(6.8114, 12.3952, 4.2236)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18722A #721860
analogous
#337218 #18722A #187257
triadic
#18722A #2A1872 #722A18
tetradic
#18722A #183372 #721860 #725718
square
#18722A #183372 #721860 #725718
split-complementary
#18722A #571872 #721833
monochromatic
#051909 #0D3F17 #18722A #23A53D #31D451

Accessibility & contrast

On white

6.04
#18722A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18722A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18722A#FFFFFF#000000##FFFFFF
##18722A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746722
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18722a;
/* rgb */ color: rgb(24, 114, 42);
/* oklch */ color: oklch(48.5% 0.135 146.1);
Tailwind
colors: {
  custom: {
    50: '#659b66',
    500: '#18722a',
    950: '#000000',
  },
}
SCSS
$custom: #18722a;
$custom-light: #659b66;
$custom-dark: #000000;
JSON
{
  "hex": "#18722a",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 42
  },
  "hsl": {
    "h": 132,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.13511,
    "h": 146.1
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#18722A
secondary
#A73E92
accent
#40C6E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18722A

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

Preview Lab → · Contrast checker → · Palette generator →

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