#18862C#18862C

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

Color values

HEX#18862C
RGBrgb(24, 134, 44)
HSLhsl(131, 70%, 31%)
HSVhsv(131, 82%, 53%)
CMYKcmyk(82.1%, 0%, 67.2%, 47.5%)
CIE-LABlab(48.79, -48.41, 38.90)
CIE-LCHlch(48.79, 62.11, 141.22°)
OKLaboklab(54.26% -0.1305 0.0903)
OKLCHoklch(54.26% 0.159 145.3)
XYZxyz(9.3557, 17.4251, 5.2527)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18862C #861872
analogous
#3B8618 #18862C #188663
triadic
#18862C #2C1886 #862C18
tetradic
#18862C #183B86 #861872 #866318
square
#18862C #183B86 #861872 #866318
split-complementary
#18862C #631886 #86183B
monochromatic
#051E0A #0F521B #18862C #21BA3D #3CDC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18862C#FFFFFF#000000##FFFFFF
##18862C1.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)
#887921
Deuteranopia (green-blind)
#7C7134
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18862c;
/* rgb */ color: rgb(24, 134, 44);
/* oklch */ color: oklch(54.3% 0.159 145.3);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#18862c',
    950: '#000000',
  },
}
SCSS
$custom: #18862c;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#18862c",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 130.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.15868,
    "h": 145.3
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#18862C
secondary
#BA40A4
accent
#3BCCEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #18862C

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

Preview Lab → · Contrast checker → · Palette generator →

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