#18862D#18862D

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

Color values

HEX#18862D
RGBrgb(24, 134, 45)
HSLhsl(131, 70%, 31%)
HSVhsv(131, 82%, 53%)
CMYKcmyk(82.1%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.80, -48.30, 38.46)
CIE-LCHlch(48.80, 61.74, 141.47°)
OKLaboklab(54.27% -0.1301 0.0895)
OKLCHoklch(54.27% 0.158 145.5)
XYZxyz(9.3748, 17.4327, 5.3529)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18862D #861871
analogous
#3A8618 #18862D #188664
triadic
#18862D #2D1886 #862D18
tetradic
#18862D #183A86 #861871 #866418
square
#18862D #183A86 #861871 #866418
split-complementary
#18862D #641886 #86183A
monochromatic
#051E0A #0F521C #18862D #21BA3E #3CDC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18862D#FFFFFF#000000##FFFFFF
##18862D1.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)
#887922
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18862d;
/* rgb */ color: rgb(24, 134, 45);
/* oklch */ color: oklch(54.3% 0.158 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aaa6a',
    500: '#18862d',
    950: '#000000',
  },
}
SCSS
$custom: #18862d;
$custom-light: #6aaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18862d",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 131.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54269,
    "c": 0.15793,
    "h": 145.5
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#18862D
secondary
#BA40A3
accent
#3BCBEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18862D

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

Preview Lab → · Contrast checker → · Palette generator →

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