#18661C#18661C

#18661C is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.131 H 143.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#18661C
RGBrgb(24, 102, 28)
HSLhsl(123, 62%, 25%)
HSVhsv(123, 76%, 40%)
CMYKcmyk(76.5%, 0%, 72.5%, 60%)
CIE-LABlab(37.45, -38.90, 33.79)
CIE-LCHlch(37.45, 51.52, 139.02°)
OKLaboklab(44.79% -0.1054 0.0776)
OKLCHoklch(44.79% 0.131 143.6)
XYZxyz(5.3373, 9.7802, 2.7049)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18661C #661862
analogous
#3B6618 #18661C #186643
triadic
#18661C #1C1866 #661C18
tetradic
#18661C #183B66 #661862 #664318
square
#18661C #183B66 #661862 #664318
split-complementary
#18661C #431866 #66183B
monochromatic
#061907 #0C340E #18661C #24982A #2FC937

Accessibility & contrast

On white

7.10
#18661C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#18661C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18661C
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18661C#FFFFFF#000000##FFFFFF
##18661C1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C11
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #18661c;
/* rgb */ color: rgb(24, 102, 28);
/* oklch */ color: oklch(44.8% 0.131 143.6);
Tailwind
colors: {
  custom: {
    50: '#63925c',
    500: '#18661c',
    950: '#000000',
  },
}
SCSS
$custom: #18661c;
$custom-light: #63925c;
$custom-dark: #000000;
JSON
{
  "hex": "#18661c",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 123.077,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.13087,
    "h": 143.6
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#18661C
secondary
#9C3E97
accent
#43DDE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18661C

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

Preview Lab → · Contrast checker → · Palette generator →

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