#18661B#18661B

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

Color values

HEX#18661B
RGBrgb(24, 102, 27)
HSLhsl(122, 62%, 25%)
HSVhsv(122, 76%, 40%)
CMYKcmyk(76.5%, 0%, 73.5%, 60%)
CIE-LABlab(37.44, -39.00, 34.22)
CIE-LCHlch(37.44, 51.89, 138.73°)
OKLaboklab(44.78% -0.1057 0.0784)
OKLCHoklch(44.78% 0.132 143.5)
XYZxyz(5.3256, 9.7755, 2.6429)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18661B #661863
analogous
#3C6618 #18661B #186642
triadic
#18661B #1B1866 #661B18
tetradic
#18661B #183C66 #661863 #664218
square
#18661B #183C66 #661863 #664218
split-complementary
#18661B #421866 #66183C
monochromatic
#061907 #0C340E #18661B #249828 #2FC935

Accessibility & contrast

On white

7.11
#18661B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18661B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18661B#FFFFFF#000000##FFFFFF
##18661B1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18661b;
/* rgb */ color: rgb(24, 102, 27);
/* oklch */ color: oklch(44.8% 0.132 143.5);
Tailwind
colors: {
  custom: {
    50: '#63925c',
    500: '#18661b',
    950: '#000000',
  },
}
SCSS
$custom: #18661b;
$custom-light: #63925c;
$custom-dark: #000000;
JSON
{
  "hex": "#18661b",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 122.308,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.13159,
    "h": 143.5
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#18661B
secondary
#9C3E98
accent
#43DFE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18661B

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

Preview Lab → · Contrast checker → · Palette generator →

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