#18662C#18662C

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

Color values

HEX#18662C
RGBrgb(24, 102, 44)
HSLhsl(135, 62%, 25%)
HSVhsv(135, 76%, 40%)
CMYKcmyk(76.5%, 0%, 56.9%, 60%)
CIE-LABlab(37.62, -36.78, 26.00)
CIE-LCHlch(37.62, 45.04, 144.75°)
OKLaboklab(45% -0.099 0.0624)
OKLCHoklch(45% 0.117 147.8)
XYZxyz(5.5823, 9.8782, 3.9949)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18662C #661852
analogous
#2B6618 #18662C #186653
triadic
#18662C #2C1866 #662C18
tetradic
#18662C #182B66 #661852 #665318
square
#18662C #182B66 #661852 #665318
split-complementary
#18662C #531866 #66182B
monochromatic
#06190B #0C3417 #18662C #249841 #2FC957

Accessibility & contrast

On white

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

On black

2.98
#18662C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18662C#FFFFFF#000000##FFFFFF
##18662C1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18662c;
/* rgb */ color: rgb(24, 102, 44);
/* oklch */ color: oklch(45.0% 0.117 147.8);
Tailwind
colors: {
  custom: {
    50: '#629267',
    500: '#18662c',
    950: '#000000',
  },
}
SCSS
$custom: #18662c;
$custom-light: #629267;
$custom-dark: #000000;
JSON
{
  "hex": "#18662c",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 44
  },
  "hsl": {
    "h": 135.385,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.11705,
    "h": 147.8
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#18662C
secondary
#9C3E84
accent
#43BBE5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #18662C

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

Preview Lab → · Contrast checker → · Palette generator →

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