#18862F#18862F

#18862F is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.156 H 145.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#18862F
RGBrgb(24, 134, 47)
HSLhsl(133, 70%, 31%)
HSVhsv(133, 82%, 53%)
CMYKcmyk(82.1%, 0%, 64.9%, 47.5%)
CIE-LABlab(48.82, -48.06, 37.56)
CIE-LCHlch(48.82, 60.99, 141.99°)
OKLaboklab(54.29% -0.1294 0.0877)
OKLCHoklch(54.29% 0.156 145.9)
XYZxyz(9.4142, 17.4485, 5.5605)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18862F #86186F
analogous
#388618 #18862F #188666
triadic
#18862F #2F1886 #862F18
tetradic
#18862F #183886 #86186F #866618
square
#18862F #183886 #86186F #866618
split-complementary
#18862F #661886 #861838
monochromatic
#051E0B #0F521D #18862F #21BA41 #3CDC5E

Accessibility & contrast

On white

4.68
#18862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#18862F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18862F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18862F#FFFFFF#000000##FFFFFF
##18862F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18862f;
/* rgb */ color: rgb(24, 134, 47);
/* oklch */ color: oklch(54.3% 0.156 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aaa6b',
    500: '#18862f',
    950: '#000000',
  },
}
SCSS
$custom: #18862f;
$custom-light: #6aaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#18862f",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 132.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.15636,
    "h": 145.9
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#18862F
secondary
#BA40A0
accent
#3BC7EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18862F

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

Preview Lab → · Contrast checker → · Palette generator →

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