#166F24#166F24

#166F24 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.137 H 145.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#166F24
RGBrgb(22, 111, 36)
HSLhsl(129, 67%, 26%)
HSVhsv(129, 80%, 44%)
CMYKcmyk(80.2%, 0%, 67.6%, 56.5%)
CIE-LABlab(40.68, -41.61, 33.61)
CIE-LCHlch(40.68, 53.49, 141.07°)
OKLaboklab(47.49% -0.1123 0.0782)
OKLCHoklch(47.49% 0.137 145.1)
XYZxyz(6.3333, 11.6661, 3.5867)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F24 #6F1661
analogous
#346F16 #166F24 #166F50
triadic
#166F24 #24166F #6F2416
tetradic
#166F24 #16346F #6F1661 #6F5016
square
#166F24 #16346F #6F1661 #6F5016
split-complementary
#166F24 #50166F #6F1634
monochromatic
#051A08 #0C3C13 #166F24 #20A235 #2BD545

Accessibility & contrast

On white

6.30
#166F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#166F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F24
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F24#FFFFFF#000000##FFFFFF
##166F241.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641B
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f24;
/* rgb */ color: rgb(22, 111, 36);
/* oklch */ color: oklch(47.5% 0.137 145.1);
Tailwind
colors: {
  custom: {
    50: '#649962',
    500: '#166f24',
    950: '#000000',
  },
}
SCSS
$custom: #166f24;
$custom-light: #649962;
$custom-dark: #000000;
JSON
{
  "hex": "#166f24",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 36
  },
  "hsl": {
    "h": 129.438,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.1368,
    "h": 145.1
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#166F24
secondary
#A53C94
accent
#3ECFEA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F24

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

Preview Lab → · Contrast checker → · Palette generator →

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