#166C30#166C30

#166C30 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.122 H 148.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#166C30
RGBrgb(22, 108, 48)
HSLhsl(138, 66%, 25%)
HSVhsv(138, 80%, 42%)
CMYKcmyk(79.6%, 0%, 55.6%, 57.6%)
CIE-LABlab(39.76, -38.80, 26.43)
CIE-LCHlch(39.76, 46.94, 145.74°)
OKLaboklab(46.77% -0.1043 0.0636)
OKLCHoklch(46.77% 0.122 148.6)
XYZxyz(6.2264, 11.1084, 4.6117)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C30 #6C1652
analogous
#276C16 #166C30 #166C5B
triadic
#166C30 #30166C #6C3016
tetradic
#166C30 #16276C #6C1652 #6C5B16
square
#166C30 #16276C #6C1652 #6C5B16
split-complementary
#166C30 #5B166C #6C1627
monochromatic
#05190B #0C3919 #166C30 #209F47 #2BD25D

Accessibility & contrast

On white

6.52
#166C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#166C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C30
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C30#FFFFFF#000000##FFFFFF
##166C301.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622B
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166c30;
/* rgb */ color: rgb(22, 108, 48);
/* oklch */ color: oklch(46.8% 0.122 148.6);
Tailwind
colors: {
  custom: {
    50: '#63976a',
    500: '#166c30',
    950: '#000000',
  },
}
SCSS
$custom: #166c30;
$custom-light: #63976a;
$custom-dark: #000000;
JSON
{
  "hex": "#166c30",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 48
  },
  "hsl": {
    "h": 138.14,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.12217,
    "h": 148.6
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166C30

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

Preview Lab → · Contrast checker → · Palette generator →

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