#18661F#18661F

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

Color values

HEX#18661F
RGBrgb(24, 102, 31)
HSLhsl(125, 62%, 25%)
HSVhsv(125, 76%, 40%)
CMYKcmyk(76.5%, 0%, 69.6%, 60%)
CIE-LABlab(37.47, -38.57, 32.44)
CIE-LCHlch(37.47, 50.40, 139.93°)
OKLaboklab(44.82% -0.1043 0.0751)
OKLCHoklch(44.82% 0.129 144.2)
XYZxyz(5.3750, 9.7953, 2.9035)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18661F #66185F
analogous
#386618 #18661F #186646
triadic
#18661F #1F1866 #661F18
tetradic
#18661F #183866 #66185F #664618
square
#18661F #183866 #66185F #664618
split-complementary
#18661F #461866 #661838
monochromatic
#061908 #0C3410 #18661F #24982E #2FC93D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18661F#FFFFFF#000000##FFFFFF
##18661F1.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)
#685C16
Deuteranopia (green-blind)
#5F5625
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #18661f;
/* rgb */ color: rgb(24, 102, 31);
/* oklch */ color: oklch(44.8% 0.129 144.2);
Tailwind
colors: {
  custom: {
    50: '#63925e',
    500: '#18661f',
    950: '#000000',
  },
}
SCSS
$custom: #18661f;
$custom-light: #63925e;
$custom-dark: #000000;
JSON
{
  "hex": "#18661f",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 125.385,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.12857,
    "h": 144.2
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#18661F
secondary
#9C3E94
accent
#43D6E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18661F

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

Preview Lab → · Contrast checker → · Palette generator →

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