#18711F#18711F

#18711F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.143 H 143.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#18711F
RGBrgb(24, 113, 31)
HSLhsl(125, 65%, 27%)
HSVhsv(125, 79%, 44%)
CMYKcmyk(78.8%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.38, -42.55, 36.65)
CIE-LCHlch(41.38, 56.16, 139.26°)
OKLaboklab(48.06% -0.1152 0.084)
OKLCHoklch(48.06% 0.143 143.9)
XYZxyz(6.5287, 12.1026, 3.2880)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18711F #71186A
analogous
#3E7118 #18711F #18714C
triadic
#18711F #1F1871 #711F18
tetradic
#18711F #183E71 #71186A #714C18
square
#18711F #183E71 #71186A #714C18
split-complementary
#18711F #4C1871 #71183E
monochromatic
#051907 #0D3F11 #18711F #23A32D #30D33D

Accessibility & contrast

On white

6.14
#18711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18711F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18711F#FFFFFF#000000##FFFFFF
##18711F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #18711f;
/* rgb */ color: rgb(24, 113, 31);
/* oklch */ color: oklch(48.1% 0.143 143.9);
Tailwind
colors: {
  custom: {
    50: '#669b5f',
    500: '#18711f',
    950: '#000000',
  },
}
SCSS
$custom: #18711f;
$custom-light: #669b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#18711f",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 124.719,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.14253,
    "h": 143.9
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#18711F
secondary
#A63E9E
accent
#40DBE8
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18711F

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

Preview Lab → · Contrast checker → · Palette generator →

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