#166A2F#166A2F

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

Color values

HEX#166A2F
RGBrgb(22, 106, 47)
HSLhsl(138, 66%, 25%)
HSVhsv(138, 79%, 42%)
CMYKcmyk(79.2%, 0%, 55.7%, 58.4%)
CIE-LABlab(39.04, -38.19, 26.09)
CIE-LCHlch(39.04, 46.25, 145.66°)
OKLaboklab(46.17% -0.1027 0.0628)
OKLCHoklch(46.17% 0.12 148.5)
XYZxyz(5.9975, 10.6832, 4.4347)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A2F #6A1651
analogous
#276A16 #166A2F #166A59
triadic
#166A2F #2F166A #6A2F16
tetradic
#166A2F #16276A #6A1651 #6A5916
square
#166A2F #16276A #6A1651 #6A5916
split-complementary
#166A2F #59166A #6A1627
monochromatic
#05190B #0B3719 #166A2F #219D45 #2BCF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166A2F#FFFFFF#000000##FFFFFF
##166A2F1.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)
#6B602A
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a2f;
/* rgb */ color: rgb(22, 106, 47);
/* oklch */ color: oklch(46.2% 0.120 148.5);
Tailwind
colors: {
  custom: {
    50: '#629569',
    500: '#166a2f',
    950: '#000000',
  },
}
SCSS
$custom: #166a2f;
$custom-light: #629569;
$custom-dark: #000000;
JSON
{
  "hex": "#166a2f",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 137.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.12037,
    "h": 148.5
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#166A2F
secondary
#A03B82
accent
#3FB6E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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