#166F30#166F30

#166F30 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.126 H 148.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#166F30
RGBrgb(22, 111, 48)
HSLhsl(138, 67%, 26%)
HSVhsv(138, 80%, 44%)
CMYKcmyk(80.2%, 0%, 56.8%, 56.5%)
CIE-LABlab(40.82, -39.94, 27.71)
CIE-LCHlch(40.82, 48.61, 145.24°)
OKLaboklab(47.65% -0.1074 0.0665)
OKLCHoklch(47.65% 0.126 148.2)
XYZxyz(6.5483, 11.7521, 4.7190)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F30 #6F1655
analogous
#286F16 #166F30 #166F5C
triadic
#166F30 #30166F #6F3016
tetradic
#166F30 #16286F #6F1655 #6F5C16
square
#166F30 #16286F #6F1655 #6F5C16
split-complementary
#166F30 #5C166F #6F1628
monochromatic
#051A0B #0C3C1A #166F30 #20A246 #2BD55C

Accessibility & contrast

On white

6.27
#166F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#166F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F30
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F30#FFFFFF#000000##FFFFFF
##166F301.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652A
Deuteranopia (green-blind)
#665D35
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f30;
/* rgb */ color: rgb(22, 111, 48);
/* oklch */ color: oklch(47.6% 0.126 148.2);
Tailwind
colors: {
  custom: {
    50: '#64996a',
    500: '#166f30',
    950: '#000000',
  },
}
SCSS
$custom: #166f30;
$custom-light: #64996a;
$custom-dark: #000000;
JSON
{
  "hex": "#166f30",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 48
  },
  "hsl": {
    "h": 137.528,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.12628,
    "h": 148.2
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#166F30
secondary
#A53C86
accent
#3EB8EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F30

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

Preview Lab → · Contrast checker → · Palette generator →

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