#18702E#18702E

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

Color values

HEX#18702E
RGBrgb(24, 112, 46)
HSLhsl(135, 65%, 27%)
HSVhsv(135, 79%, 44%)
CMYKcmyk(78.6%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.18, -40.31, 29.21)
CIE-LCHlch(41.18, 49.78, 144.07°)
OKLaboklab(47.95% -0.1085 0.0696)
OKLCHoklch(47.95% 0.129 147.3)
XYZxyz(6.6635, 11.9790, 4.5452)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18702E #70185A
analogous
#2E7018 #18702E #18705A
triadic
#18702E #2E1870 #702E18
tetradic
#18702E #182E70 #70185A #705A18
square
#18702E #182E70 #70185A #705A18
split-complementary
#18702E #5A1870 #70182E
monochromatic
#05190A #0D3E19 #18702E #23A243 #30D359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18702E#FFFFFF#000000##FFFFFF
##18702E1.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)
#716528
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #18702e;
/* rgb */ color: rgb(24, 112, 46);
/* oklch */ color: oklch(48.0% 0.129 147.3);
Tailwind
colors: {
  custom: {
    50: '#649a69',
    500: '#18702e',
    950: '#000000',
  },
}
SCSS
$custom: #18702e;
$custom-light: #649a69;
$custom-dark: #000000;
JSON
{
  "hex": "#18702e",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 135,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.1289,
    "h": 147.3
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#18702E
secondary
#A53E8C
accent
#40BEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18702E

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

Preview Lab → · Contrast checker → · Palette generator →

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