#18702B#18702B

#18702B is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.132 H 146.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#18702B
RGBrgb(24, 112, 43)
HSLhsl(133, 65%, 27%)
HSVhsv(133, 79%, 44%)
CMYKcmyk(78.6%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.15, -40.74, 30.71)
CIE-LCHlch(41.15, 51.02, 142.99°)
OKLaboklab(47.91% -0.1097 0.0727)
OKLCHoklch(47.91% 0.132 146.5)
XYZxyz(6.6064, 11.9562, 4.2446)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18702B #70185D
analogous
#317018 #18702B #187057
triadic
#18702B #2B1870 #702B18
tetradic
#18702B #183170 #70185D #705718
square
#18702B #183170 #70185D #705718
split-complementary
#18702B #571870 #701831
monochromatic
#05190A #0D3E18 #18702B #23A23E #30D353

Accessibility & contrast

On white

6.19
#18702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#18702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18702B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18702B#FFFFFF#000000##FFFFFF
##18702B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726524
Deuteranopia (green-blind)
#685E31
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #18702b;
/* rgb */ color: rgb(24, 112, 43);
/* oklch */ color: oklch(47.9% 0.132 146.5);
Tailwind
colors: {
  custom: {
    50: '#659a67',
    500: '#18702b',
    950: '#000000',
  },
}
SCSS
$custom: #18702b;
$custom-light: #659a67;
$custom-dark: #000000;
JSON
{
  "hex": "#18702b",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 132.955,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.1316,
    "h": 146.5
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#18702B
secondary
#A53E8F
accent
#40C4E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18702B

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

Preview Lab → · Contrast checker → · Palette generator →

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