#18712E#18712E

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

Color values

HEX#18712E
RGBrgb(24, 113, 46)
HSLhsl(135, 65%, 27%)
HSVhsv(135, 79%, 44%)
CMYKcmyk(78.8%, 0%, 59.3%, 55.7%)
CIE-LABlab(41.53, -40.68, 29.63)
CIE-LCHlch(41.53, 50.33, 143.93°)
OKLaboklab(48.24% -0.1095 0.0705)
OKLCHoklch(48.24% 0.13 147.2)
XYZxyz(6.7744, 12.2009, 4.5822)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18712E #71185B
analogous
#2F7118 #18712E #18715B
triadic
#18712E #2E1871 #712E18
tetradic
#18712E #182F71 #71185B #715B18
square
#18712E #182F71 #71185B #715B18
split-complementary
#18712E #5B1871 #71182F
monochromatic
#05190A #0D3F19 #18712E #23A343 #30D359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18712E#FFFFFF#000000##FFFFFF
##18712E1.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)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #18712e;
/* rgb */ color: rgb(24, 113, 46);
/* oklch */ color: oklch(48.2% 0.130 147.2);
Tailwind
colors: {
  custom: {
    50: '#659b69',
    500: '#18712e',
    950: '#000000',
  },
}
SCSS
$custom: #18712e;
$custom-light: #659b69;
$custom-dark: #000000;
JSON
{
  "hex": "#18712e",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 134.831,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.13024,
    "h": 147.2
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18712E

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

Preview Lab → · Contrast checker → · Palette generator →

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