#18631F#18631F

#18631F is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.125 H 144.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#18631F
RGBrgb(24, 99, 31)
HSLhsl(126, 61%, 24%)
HSVhsv(126, 76%, 39%)
CMYKcmyk(75.8%, 0%, 68.7%, 61.2%)
CIE-LABlab(36.40, -37.44, 31.26)
CIE-LCHlch(36.40, 48.77, 140.14°)
OKLaboklab(43.93% -0.1013 0.0726)
OKLCHoklch(43.93% 0.125 144.4)
XYZxyz(5.0855, 9.2162, 2.8070)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18631F #63185C
analogous
#376318 #18631F #186345
triadic
#18631F #1F1863 #631F18
tetradic
#18631F #183763 #63185C #634518
square
#18631F #183763 #63185C #634518
split-complementary
#18631F #451863 #631837
monochromatic
#061908 #0C3210 #18631F #24942E #30C63E

Accessibility & contrast

On white

7.39
#18631F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#18631F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18631F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18631F#FFFFFF#000000##FFFFFF
##18631F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655917
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #18631f;
/* rgb */ color: rgb(24, 99, 31);
/* oklch */ color: oklch(43.9% 0.125 144.4);
Tailwind
colors: {
  custom: {
    50: '#62905e',
    500: '#18631f',
    950: '#000000',
  },
}
SCSS
$custom: #18631f;
$custom-light: #62905e;
$custom-dark: #000000;
JSON
{
  "hex": "#18631f",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 125.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.12462,
    "h": 144.4
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#18631F
secondary
#993E91
accent
#44D5E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #18631F

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

Preview Lab → · Contrast checker → · Palette generator →

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