#166F23#166F23

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

Color values

HEX#166F23
RGBrgb(22, 111, 35)
HSLhsl(129, 67%, 26%)
HSVhsv(129, 80%, 44%)
CMYKcmyk(80.2%, 0%, 68.5%, 56.5%)
CIE-LABlab(40.67, -41.73, 34.07)
CIE-LCHlch(40.67, 53.87, 140.77°)
OKLaboklab(47.48% -0.1126 0.079)
OKLCHoklch(47.48% 0.138 144.9)
XYZxyz(6.3182, 11.6601, 3.5074)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F23 #6F1662
analogous
#356F16 #166F23 #166F4F
triadic
#166F23 #23166F #6F2316
tetradic
#166F23 #16356F #6F1662 #6F4F16
square
#166F23 #16356F #6F1662 #6F4F16
split-complementary
#166F23 #4F166F #6F1635
monochromatic
#051A08 #0C3C13 #166F23 #20A233 #2BD543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F23#FFFFFF#000000##FFFFFF
##166F231.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)
#716419
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f23;
/* rgb */ color: rgb(22, 111, 35);
/* oklch */ color: oklch(47.5% 0.138 144.9);
Tailwind
colors: {
  custom: {
    50: '#649962',
    500: '#166f23',
    950: '#000000',
  },
}
SCSS
$custom: #166f23;
$custom-light: #649962;
$custom-dark: #000000;
JSON
{
  "hex": "#166f23",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 128.764,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.1376,
    "h": 144.9
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#166F23
secondary
#A53C96
accent
#3ED1EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F23

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

Preview Lab → · Contrast checker → · Palette generator →

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