#18702F#18702F

#18702F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.128 H 147.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#18702F
RGBrgb(24, 112, 47)
HSLhsl(136, 65%, 27%)
HSVhsv(136, 79%, 44%)
CMYKcmyk(78.6%, 0%, 58%, 56.1%)
CIE-LABlab(41.20, -40.16, 28.70)
CIE-LCHlch(41.20, 49.36, 144.44°)
OKLaboklab(47.97% -0.108 0.0686)
OKLCHoklch(47.97% 0.128 147.6)
XYZxyz(6.6834, 11.9870, 4.6503)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18702F #701859
analogous
#2D7018 #18702F #18705B
triadic
#18702F #2F1870 #702F18
tetradic
#18702F #182D70 #701859 #705B18
square
#18702F #182D70 #701859 #705B18
split-complementary
#18702F #5B1870 #70182D
monochromatic
#05190B #0D3E1A #18702F #23A244 #30D35A

Accessibility & contrast

On white

6.18
#18702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#18702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18702F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18702F#FFFFFF#000000##FFFFFF
##18702F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #18702f;
/* rgb */ color: rgb(24, 112, 47);
/* oklch */ color: oklch(48.0% 0.128 147.6);
Tailwind
colors: {
  custom: {
    50: '#649a69',
    500: '#18702f',
    950: '#000000',
  },
}
SCSS
$custom: #18702f;
$custom-light: #649a69;
$custom-dark: #000000;
JSON
{
  "hex": "#18702f",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 135.682,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.12797,
    "h": 147.6
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#18702F
secondary
#A53E8B
accent
#40BCE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18702F

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

Preview Lab → · Contrast checker → · Palette generator →

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