#166A30#166A30

#166A30 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.119 H 148.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#166A30
RGBrgb(22, 106, 48)
HSLhsl(139, 66%, 25%)
HSVhsv(139, 79%, 42%)
CMYKcmyk(79.2%, 0%, 54.7%, 58.4%)
CIE-LABlab(39.06, -38.02, 25.56)
CIE-LCHlch(39.06, 45.82, 146.09°)
OKLaboklab(46.19% -0.1022 0.0617)
OKLCHoklch(46.19% 0.119 148.9)
XYZxyz(6.0179, 10.6913, 4.5422)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A30 #6A1650
analogous
#266A16 #166A30 #166A5A
triadic
#166A30 #30166A #6A3016
tetradic
#166A30 #16266A #6A1650 #6A5A16
square
#166A30 #16266A #6A1650 #6A5A16
split-complementary
#166A30 #5A166A #6A1626
monochromatic
#05190B #0B3719 #166A30 #219D47 #2BCF5E

Accessibility & contrast

On white

6.69
#166A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#166A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A30
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A30#FFFFFF#000000##FFFFFF
##166A301.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a30;
/* rgb */ color: rgb(22, 106, 48);
/* oklch */ color: oklch(46.2% 0.119 148.9);
Tailwind
colors: {
  custom: {
    50: '#62956a',
    500: '#166a30',
    950: '#000000',
  },
}
SCSS
$custom: #166a30;
$custom-light: #62956a;
$custom-dark: #000000;
JSON
{
  "hex": "#166a30",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 48
  },
  "hsl": {
    "h": 138.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.11941,
    "h": 148.9
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#166A30
secondary
#A03B81
accent
#3FB4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A30

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

Preview Lab → · Contrast checker → · Palette generator →

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