#18621F#18621F

#18621F is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.123 H 144.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#18621F
RGBrgb(24, 98, 31)
HSLhsl(126, 61%, 24%)
HSVhsv(126, 76%, 38%)
CMYKcmyk(75.5%, 0%, 68.4%, 61.6%)
CIE-LABlab(36.04, -37.06, 30.86)
CIE-LCHlch(36.04, 48.23, 140.22°)
OKLaboklab(43.63% -0.1003 0.0718)
OKLCHoklch(43.63% 0.123 144.4)
XYZxyz(4.9914, 9.0279, 2.7756)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18621F #62185B
analogous
#366218 #18621F #186244
triadic
#18621F #1F1862 #621F18
tetradic
#18621F #183662 #62185B #624418
square
#18621F #183662 #62185B #624418
split-complementary
#18621F #441862 #621836
monochromatic
#061908 #0C310F #18621F #24932F #30C43E

Accessibility & contrast

On white

7.49
#18621F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#18621F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18621F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18621F#FFFFFF#000000##FFFFFF
##18621F1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645817
Deuteranopia (green-blind)
#5B5225
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #18621f;
/* rgb */ color: rgb(24, 98, 31);
/* oklch */ color: oklch(43.6% 0.123 144.4);
Tailwind
colors: {
  custom: {
    50: '#628f5e',
    500: '#18621f',
    950: '#000000',
  },
}
SCSS
$custom: #18621f;
$custom-light: #628f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18621f",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 31
  },
  "hsl": {
    "h": 125.676,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.12329,
    "h": 144.4
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#18621F
secondary
#983E90
accent
#44D5E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #18621F

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

Preview Lab → · Contrast checker → · Palette generator →

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