#18662B#18662B

#18662B is a dark, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.118 H 147.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#18662B
RGBrgb(24, 102, 43)
HSLhsl(135, 62%, 25%)
HSVhsv(135, 76%, 40%)
CMYKcmyk(76.5%, 0%, 57.8%, 60%)
CIE-LABlab(37.61, -36.94, 26.52)
CIE-LCHlch(37.61, 45.47, 144.32°)
OKLaboklab(44.98% -0.0995 0.0635)
OKLCHoklch(44.98% 0.118 147.4)
XYZxyz(5.5637, 9.8707, 3.8971)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18662B #661853
analogous
#2C6618 #18662B #186652
triadic
#18662B #2B1866 #662B18
tetradic
#18662B #182C66 #661853 #665218
square
#18662B #182C66 #661853 #665218
split-complementary
#18662B #521866 #66182C
monochromatic
#06190A #0C3416 #18662B #249840 #2FC955

Accessibility & contrast

On white

7.06
#18662B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#18662B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18662B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18662B#FFFFFF#000000##FFFFFF
##18662B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #18662b;
/* rgb */ color: rgb(24, 102, 43);
/* oklch */ color: oklch(45.0% 0.118 147.4);
Tailwind
colors: {
  custom: {
    50: '#629266',
    500: '#18662b',
    950: '#000000',
  },
}
SCSS
$custom: #18662b;
$custom-light: #629266;
$custom-dark: #000000;
JSON
{
  "hex": "#18662b",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 43
  },
  "hsl": {
    "h": 134.615,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.118,
    "h": 147.4
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#18662B
secondary
#9C3E85
accent
#43BDE5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #18662B

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

Preview Lab → · Contrast checker → · Palette generator →

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