#18711B#18711B

#18711B is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.145 H 143.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#18711B
RGBrgb(24, 113, 27)
HSLhsl(122, 65%, 27%)
HSVhsv(122, 79%, 44%)
CMYKcmyk(78.8%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.35, -42.94, 38.28)
CIE-LCHlch(41.35, 57.53, 138.28°)
OKLaboklab(48.03% -0.1164 0.0869)
OKLCHoklch(48.03% 0.145 143.3)
XYZxyz(6.4792, 12.0828, 3.0274)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18711B #71186E
analogous
#427118 #18711B #187148
triadic
#18711B #1B1871 #711B18
tetradic
#18711B #184271 #71186E #714818
square
#18711B #184271 #71186E #714818
split-complementary
#18711B #481871 #711842
monochromatic
#051906 #0D3F0F #18711B #23A327 #30D336

Accessibility & contrast

On white

6.15
#18711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#18711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18711B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18711B#FFFFFF#000000##FFFFFF
##18711B1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660C
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #18711b;
/* rgb */ color: rgb(24, 113, 27);
/* oklch */ color: oklch(48.0% 0.145 143.3);
Tailwind
colors: {
  custom: {
    50: '#669b5d',
    500: '#18711b',
    950: '#000000',
  },
}
SCSS
$custom: #18711b;
$custom-light: #669b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#18711b",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 122.022,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.14524,
    "h": 143.3
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#18711B
secondary
#A63EA3
accent
#40E2E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #18711B

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

Preview Lab → · Contrast checker → · Palette generator →

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