#166826#166826

#166826 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.126 H 146.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#166826
RGBrgb(22, 104, 38)
HSLhsl(132, 65%, 25%)
HSVhsv(132, 79%, 41%)
CMYKcmyk(78.8%, 0%, 63.5%, 59.2%)
CIE-LABlab(38.22, -38.78, 29.84)
CIE-LCHlch(38.22, 48.94, 142.42°)
OKLaboklab(45.45% -0.1045 0.0703)
OKLCHoklch(45.45% 0.126 146.1)
XYZxyz(5.6306, 10.2105, 3.5074)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166826 #681658
analogous
#2F6816 #166826 #16684F
triadic
#166826 #261668 #682616
tetradic
#166826 #162F68 #681658 #684F16
square
#166826 #162F68 #681658 #684F16
split-complementary
#166826 #4F1668 #68162F
monochromatic
#051909 #0B3514 #166826 #219B38 #2BCD4B

Accessibility & contrast

On white

6.90
#166826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#166826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166826
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166826#FFFFFF#000000##FFFFFF
##1668261.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1F
Deuteranopia (green-blind)
#60572B
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166826;
/* rgb */ color: rgb(22, 104, 38);
/* oklch */ color: oklch(45.5% 0.126 146.1);
Tailwind
colors: {
  custom: {
    50: '#629463',
    500: '#166826',
    950: '#000000',
  },
}
SCSS
$custom: #166826;
$custom-light: #629463;
$custom-dark: #000000;
JSON
{
  "hex": "#166826",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 38
  },
  "hsl": {
    "h": 131.707,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.12597,
    "h": 146.1
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#166826
secondary
#9F3B8B
accent
#40C7E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166826

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

Preview Lab → · Contrast checker → · Palette generator →

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