#18631C#18631C

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

Color values

HEX#18631C
RGBrgb(24, 99, 28)
HSLhsl(123, 61%, 24%)
HSVhsv(123, 76%, 39%)
CMYKcmyk(75.8%, 0%, 71.7%, 61.2%)
CIE-LABlab(36.37, -37.79, 32.64)
CIE-LCHlch(36.37, 49.93, 139.18°)
OKLaboklab(43.9% -0.1024 0.0752)
OKLCHoklch(43.9% 0.127 143.7)
XYZxyz(5.0478, 9.2012, 2.6084)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18631C #63185F
analogous
#3A6318 #18631C #186342
triadic
#18631C #1C1863 #631C18
tetradic
#18631C #183A63 #63185F #634218
square
#18631C #183A63 #63185F #634218
split-complementary
#18631C #421863 #63183A
monochromatic
#061907 #0C320E #18631C #24942A #30C638

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18631C#FFFFFF#000000##FFFFFF
##18631C1.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)
#655912
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #18631c;
/* rgb */ color: rgb(24, 99, 28);
/* oklch */ color: oklch(43.9% 0.127 143.7);
Tailwind
colors: {
  custom: {
    50: '#62905c',
    500: '#18631c',
    950: '#000000',
  },
}
SCSS
$custom: #18631c;
$custom-light: #62905c;
$custom-dark: #000000;
JSON
{
  "hex": "#18631c",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 123.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.127,
    "h": 143.7
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#18631C
secondary
#993E94
accent
#44DCE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #18631C

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

Preview Lab → · Contrast checker → · Palette generator →

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