#18662F#18662F

#18662F is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.114 H 148.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#18662F
RGBrgb(24, 102, 47)
HSLhsl(138, 62%, 25%)
HSVhsv(138, 76%, 40%)
CMYKcmyk(76.5%, 0%, 53.9%, 60%)
CIE-LABlab(37.67, -36.28, 24.40)
CIE-LCHlch(37.67, 43.73, 146.08°)
OKLaboklab(45.04% -0.0976 0.0591)
OKLCHoklch(45.04% 0.114 148.8)
XYZxyz(5.6407, 9.9015, 4.3027)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18662F #66184F
analogous
#286618 #18662F #186656
triadic
#18662F #2F1866 #662F18
tetradic
#18662F #182866 #66184F #665618
square
#18662F #182866 #66184F #665618
split-complementary
#18662F #561866 #661828
monochromatic
#06190B #0C3418 #18662F #249846 #2FC95D

Accessibility & contrast

On white

7.05
#18662F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18662F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18662F#FFFFFF#000000##FFFFFF
##18662F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18662f;
/* rgb */ color: rgb(24, 102, 47);
/* oklch */ color: oklch(45.0% 0.114 148.8);
Tailwind
colors: {
  custom: {
    50: '#629269',
    500: '#18662f',
    950: '#000000',
  },
}
SCSS
$custom: #18662f;
$custom-light: #629269;
$custom-dark: #000000;
JSON
{
  "hex": "#18662f",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 137.692,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.11411,
    "h": 148.8
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#18662F
secondary
#9C3E80
accent
#43B5E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #18662F

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

Preview Lab → · Contrast checker → · Palette generator →

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