#18712F#18712F

#18712F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.129 H 147.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#18712F
RGBrgb(24, 113, 47)
HSLhsl(136, 65%, 27%)
HSVhsv(136, 79%, 44%)
CMYKcmyk(78.8%, 0%, 58.4%, 55.7%)
CIE-LABlab(41.55, -40.53, 29.12)
CIE-LCHlch(41.55, 49.91, 144.30°)
OKLaboklab(48.26% -0.1091 0.0695)
OKLCHoklch(48.26% 0.129 147.5)
XYZxyz(6.7944, 12.2089, 4.6872)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18712F #71185A
analogous
#2D7118 #18712F #18715C
triadic
#18712F #2F1871 #712F18
tetradic
#18712F #182D71 #71185A #715C18
square
#18712F #182D71 #71185A #715C18
split-complementary
#18712F #5C1871 #71182D
monochromatic
#05190A #0D3F1A #18712F #23A344 #30D35A

Accessibility & contrast

On white

6.10
#18712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#18712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18712F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18712F#FFFFFF#000000##FFFFFF
##18712F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #18712f;
/* rgb */ color: rgb(24, 113, 47);
/* oklch */ color: oklch(48.3% 0.129 147.5);
Tailwind
colors: {
  custom: {
    50: '#659b69',
    500: '#18712f',
    950: '#000000',
  },
}
SCSS
$custom: #18712f;
$custom-light: #659b69;
$custom-dark: #000000;
JSON
{
  "hex": "#18712f",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 135.506,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.12933,
    "h": 147.5
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#18712F
secondary
#A63E8C
accent
#40BDE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18712F

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

Preview Lab → · Contrast checker → · Palette generator →

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