#18641F#18641F

#18641F is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.2% C 0.126 H 144.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#18641F
RGBrgb(24, 100, 31)
HSLhsl(126, 61%, 24%)
HSVhsv(126, 76%, 39%)
CMYKcmyk(76%, 0%, 69%, 60.8%)
CIE-LABlab(36.76, -37.82, 31.66)
CIE-LCHlch(36.76, 49.32, 140.07°)
OKLaboklab(44.23% -0.1023 0.0735)
OKLCHoklch(44.23% 0.126 144.3)
XYZxyz(5.1808, 9.4069, 2.8387)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18641F #64185D
analogous
#376418 #18641F #186445
triadic
#18641F #1F1864 #641F18
tetradic
#18641F #183764 #64185D #644518
square
#18641F #183764 #64185D #644518
split-complementary
#18641F #451864 #641837
monochromatic
#061908 #0C3310 #18641F #24952E #30C73E

Accessibility & contrast

On white

7.29
#18641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#18641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18641F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18641F#FFFFFF#000000##FFFFFF
##18641F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#006156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #18641f;
/* rgb */ color: rgb(24, 100, 31);
/* oklch */ color: oklch(44.2% 0.126 144.3);
Tailwind
colors: {
  custom: {
    50: '#62915e',
    500: '#18641f',
    950: '#000000',
  },
}
SCSS
$custom: #18641f;
$custom-light: #62915e;
$custom-dark: #000000;
JSON
{
  "hex": "#18641f",
  "rgb": {
    "r": 24,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 125.526,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.12595,
    "h": 144.3
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#18641F
secondary
#9A3E92
accent
#43D6E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #18641F

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

Preview Lab → · Contrast checker → · Palette generator →

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