#166E23#166E23

#166E23 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.136 H 145.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#166E23
RGBrgb(22, 110, 35)
HSLhsl(129, 67%, 26%)
HSVhsv(129, 80%, 43%)
CMYKcmyk(80%, 0%, 68.2%, 56.9%)
CIE-LABlab(40.32, -41.37, 33.68)
CIE-LCHlch(40.32, 53.34, 140.85°)
OKLaboklab(47.18% -0.1116 0.0782)
OKLCHoklch(47.18% 0.136 145)
XYZxyz(6.2097, 11.4431, 3.4712)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E23 #6E1661
analogous
#356E16 #166E23 #166E4F
triadic
#166E23 #23166E #6E2316
tetradic
#166E23 #16356E #6E1661 #6E4F16
square
#166E23 #16356E #6E1661 #6E4F16
split-complementary
#166E23 #4F166E #6E1635
monochromatic
#051A08 #0C3B13 #166E23 #20A133 #2AD443

Accessibility & contrast

On white

6.39
#166E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#166E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E23
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E23#FFFFFF#000000##FFFFFF
##166E231.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70631A
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e23;
/* rgb */ color: rgb(22, 110, 35);
/* oklch */ color: oklch(47.2% 0.136 145.0);
Tailwind
colors: {
  custom: {
    50: '#649961',
    500: '#166e23',
    950: '#000000',
  },
}
SCSS
$custom: #166e23;
$custom-light: #649961;
$custom-dark: #000000;
JSON
{
  "hex": "#166e23",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 128.864,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47183,
    "c": 0.13632,
    "h": 145
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#166E23
secondary
#A43C95
accent
#3ED0EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166E23

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

Preview Lab → · Contrast checker → · Palette generator →

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