#166729#166729

#166729 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.122 H 147.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#166729
RGBrgb(22, 103, 41)
HSLhsl(134, 65%, 25%)
HSVhsv(134, 79%, 40%)
CMYKcmyk(78.6%, 0%, 60.2%, 59.6%)
CIE-LABlab(37.90, -37.98, 27.92)
CIE-LCHlch(37.90, 47.13, 143.68°)
OKLaboklab(45.2% -0.1022 0.0664)
OKLCHoklch(45.2% 0.122 147)
XYZxyz(5.5809, 10.0305, 3.7393)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166729 #671654
analogous
#2C6716 #166729 #166752
triadic
#166729 #291667 #672916
tetradic
#166729 #162C67 #671654 #675216
square
#166729 #162C67 #671654 #675216
split-complementary
#166729 #521667 #67162C
monochromatic
#05190A #0B3515 #166729 #21993D #2CCC51

Accessibility & contrast

On white

6.99
#166729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#166729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166729
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166729#FFFFFF#000000##FFFFFF
##1667291.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D23
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166729;
/* rgb */ color: rgb(22, 103, 41);
/* oklch */ color: oklch(45.2% 0.122 147.0);
Tailwind
colors: {
  custom: {
    50: '#629365',
    500: '#166729',
    950: '#000000',
  },
}
SCSS
$custom: #166729;
$custom-light: #629365;
$custom-dark: #000000;
JSON
{
  "hex": "#166729",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 41
  },
  "hsl": {
    "h": 134.074,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.12192,
    "h": 147
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#166729
secondary
#9E3B87
accent
#40C0E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166729

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

Preview Lab → · Contrast checker → · Palette generator →

#166729 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva