#18651F#18651F

#18651F is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.5% C 0.127 H 144.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#18651F
RGBrgb(24, 101, 31)
HSLhsl(125, 62%, 25%)
HSVhsv(125, 76%, 40%)
CMYKcmyk(76.2%, 0%, 69.3%, 60.4%)
CIE-LABlab(37.11, -38.19, 32.05)
CIE-LCHlch(37.11, 49.86, 140.00°)
OKLaboklab(44.53% -0.1033 0.0743)
OKLCHoklch(44.53% 0.127 144.3)
XYZxyz(5.2773, 9.5999, 2.8709)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18651F #65185E
analogous
#376518 #18651F #186546
triadic
#18651F #1F1865 #651F18
tetradic
#18651F #183765 #65185E #654618
square
#18651F #183765 #65185E #654618
split-complementary
#18651F #461865 #651837
monochromatic
#061908 #0C3410 #18651F #24962E #30C83D

Accessibility & contrast

On white

7.19
#18651F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#18651F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18651F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18651F#FFFFFF#000000##FFFFFF
##18651F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#5E5525
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #18651f;
/* rgb */ color: rgb(24, 101, 31);
/* oklch */ color: oklch(44.5% 0.127 144.3);
Tailwind
colors: {
  custom: {
    50: '#62925e',
    500: '#18651f',
    950: '#000000',
  },
}
SCSS
$custom: #18651f;
$custom-light: #62925e;
$custom-dark: #000000;
JSON
{
  "hex": "#18651f",
  "rgb": {
    "r": 24,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 125.455,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.12725,
    "h": 144.3
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18651F

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

Preview Lab → · Contrast checker → · Palette generator →

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