#18631B#18631B

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

Color values

HEX#18631B
RGBrgb(24, 99, 27)
HSLhsl(122, 61%, 24%)
HSVhsv(122, 76%, 39%)
CMYKcmyk(75.8%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.36, -37.89, 33.08)
CIE-LCHlch(36.36, 50.30, 138.88°)
OKLaboklab(43.89% -0.1027 0.076)
OKLCHoklch(43.89% 0.128 143.5)
XYZxyz(5.0360, 9.1964, 2.5464)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18631B #631860
analogous
#3B6318 #18631B #186341
triadic
#18631B #1B1863 #631B18
tetradic
#18631B #183B63 #631860 #634118
square
#18631B #183B63 #631860 #634118
split-complementary
#18631B #411863 #63183B
monochromatic
#061907 #0C320E #18631B #249428 #30C636

Accessibility & contrast

On white

7.40
#18631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18631B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18631B#FFFFFF#000000##FFFFFF
##18631B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#5D5322
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #18631b;
/* rgb */ color: rgb(24, 99, 27);
/* oklch */ color: oklch(43.9% 0.128 143.5);
Tailwind
colors: {
  custom: {
    50: '#62905b',
    500: '#18631b',
    950: '#000000',
  },
}
SCSS
$custom: #18631b;
$custom-light: #62905b;
$custom-dark: #000000;
JSON
{
  "hex": "#18631b",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 122.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.12775,
    "h": 143.5
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#18631B
secondary
#993E96
accent
#44DEE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #18631B

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

Preview Lab → · Contrast checker → · Palette generator →

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