#18861C#18861C

#18861C is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.169 H 143.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#18861C
RGBrgb(24, 134, 28)
HSLhsl(122, 70%, 31%)
HSVhsv(122, 82%, 53%)
CMYKcmyk(82.1%, 0%, 79.1%, 47.5%)
CIE-LABlab(48.67, -49.92, 45.22)
CIE-LCHlch(48.67, 67.36, 137.83°)
OKLaboklab(54.12% -0.1353 0.1015)
OKLCHoklch(54.12% 0.169 143.1)
XYZxyz(9.1108, 17.3271, 3.9627)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18861C #861882
analogous
#4B8618 #18861C #188653
triadic
#18861C #1C1886 #861C18
tetradic
#18861C #184B86 #861882 #865318
square
#18861C #184B86 #861882 #865318
split-complementary
#18861C #531886 #86184B
monochromatic
#051E06 #0F5211 #18861C #21BA27 #3CDC42

Accessibility & contrast

On white

4.70
#18861C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#18861C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18861C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18861C#FFFFFF#000000##FFFFFF
##18861C1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18861c;
/* rgb */ color: rgb(24, 134, 28);
/* oklch */ color: oklch(54.1% 0.169 143.1);
Tailwind
colors: {
  custom: {
    50: '#6baa61',
    500: '#18861c',
    950: '#000000',
  },
}
SCSS
$custom: #18861c;
$custom-light: #6baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#18861c",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 122.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.16914,
    "h": 143.1
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#18861C
secondary
#BA40B5
accent
#3BE6EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18861C

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

Preview Lab → · Contrast checker → · Palette generator →

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