#166D24#166D24

#166D24 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.134 H 145.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#166D24
RGBrgb(22, 109, 36)
HSLhsl(130, 66%, 26%)
HSVhsv(130, 80%, 43%)
CMYKcmyk(79.8%, 0%, 67%, 57.3%)
CIE-LABlab(39.97, -40.88, 32.82)
CIE-LCHlch(39.97, 52.43, 141.24°)
OKLaboklab(46.9% -0.1103 0.0765)
OKLCHoklch(46.9% 0.134 145.3)
XYZxyz(6.1175, 11.2345, 3.5148)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D24 #6D165F
analogous
#336D16 #166D24 #166D4F
triadic
#166D24 #24166D #6D2416
tetradic
#166D24 #16336D #6D165F #6D4F16
square
#166D24 #16336D #6D165F #6D4F16
split-complementary
#166D24 #4F166D #6D1633
monochromatic
#051908 #0C3A13 #166D24 #20A035 #2BD346

Accessibility & contrast

On white

6.47
#166D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#166D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D24
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D24#FFFFFF#000000##FFFFFF
##166D241.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621B
Deuteranopia (green-blind)
#655C2A
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d24;
/* rgb */ color: rgb(22, 109, 36);
/* oklch */ color: oklch(46.9% 0.134 145.3);
Tailwind
colors: {
  custom: {
    50: '#649862',
    500: '#166d24',
    950: '#000000',
  },
}
SCSS
$custom: #166d24;
$custom-light: #649862;
$custom-dark: #000000;
JSON
{
  "hex": "#166d24",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 36
  },
  "hsl": {
    "h": 129.655,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.13423,
    "h": 145.3
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#166D24
secondary
#A33C93
accent
#3ECEE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166D24

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

Preview Lab → · Contrast checker → · Palette generator →

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