#166C24#166C24

#166C24 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.133 H 145.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#166C24
RGBrgb(22, 108, 36)
HSLhsl(130, 66%, 25%)
HSVhsv(130, 80%, 42%)
CMYKcmyk(79.6%, 0%, 66.7%, 57.6%)
CIE-LABlab(39.62, -40.52, 32.43)
CIE-LCHlch(39.62, 51.90, 141.33°)
OKLaboklab(46.61% -0.1093 0.0757)
OKLCHoklch(46.61% 0.133 145.3)
XYZxyz(6.0115, 11.0224, 3.4794)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C24 #6C165E
analogous
#336C16 #166C24 #166C4F
triadic
#166C24 #24166C #6C2416
tetradic
#166C24 #16336C #6C165E #6C4F16
square
#166C24 #16336C #6C165E #6C4F16
split-complementary
#166C24 #4F166C #6C1633
monochromatic
#051908 #0C3913 #166C24 #209F35 #2BD246

Accessibility & contrast

On white

6.55
#166C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#166C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C24
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C24#FFFFFF#000000##FFFFFF
##166C241.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611C
Deuteranopia (green-blind)
#645B2A
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c24;
/* rgb */ color: rgb(22, 108, 36);
/* oklch */ color: oklch(46.6% 0.133 145.3);
Tailwind
colors: {
  custom: {
    50: '#639762',
    500: '#166c24',
    950: '#000000',
  },
}
SCSS
$custom: #166c24;
$custom-light: #639762;
$custom-dark: #000000;
JSON
{
  "hex": "#166c24",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 36
  },
  "hsl": {
    "h": 129.767,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.13295,
    "h": 145.3
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#166C24
secondary
#A23C92
accent
#3FCDE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166C24

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

Preview Lab → · Contrast checker → · Palette generator →

#166C24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva