#166726#166726

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

Color values

HEX#166726
RGBrgb(22, 103, 38)
HSLhsl(132, 65%, 25%)
HSVhsv(132, 79%, 40%)
CMYKcmyk(78.6%, 0%, 63.1%, 59.6%)
CIE-LABlab(37.86, -38.41, 29.43)
CIE-LCHlch(37.86, 48.39, 142.54°)
OKLaboklab(45.16% -0.1035 0.0694)
OKLCHoklch(45.16% 0.125 146.1)
XYZxyz(5.5306, 10.0104, 3.4741)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166726 #671657
analogous
#2F6716 #166726 #16674F
triadic
#166726 #261667 #672616
tetradic
#166726 #162F67 #671657 #674F16
square
#166726 #162F67 #671657 #674F16
split-complementary
#166726 #4F1667 #67162F
monochromatic
#051909 #0B3513 #166726 #219939 #2CCC4B

Accessibility & contrast

On white

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

On black

3.00
#166726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##166726#FFFFFF#000000##FFFFFF
##1667261.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1F
Deuteranopia (green-blind)
#5F572B
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166726;
/* rgb */ color: rgb(22, 103, 38);
/* oklch */ color: oklch(45.2% 0.125 146.1);
Tailwind
colors: {
  custom: {
    50: '#629363',
    500: '#166726',
    950: '#000000',
  },
}
SCSS
$custom: #166726;
$custom-light: #629363;
$custom-dark: #000000;
JSON
{
  "hex": "#166726",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 38
  },
  "hsl": {
    "h": 131.852,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.12464,
    "h": 146.1
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#166726
secondary
#9E3B8A
accent
#40C7E8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166726

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

Preview Lab → · Contrast checker → · Palette generator →

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