#166428#166428

#166428 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.119 H 147.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#166428
RGBrgb(22, 100, 40)
HSLhsl(134, 64%, 24%)
HSVhsv(134, 78%, 39%)
CMYKcmyk(78%, 0%, 60%, 60.8%)
CIE-LABlab(36.81, -36.97, 27.16)
CIE-LCHlch(36.81, 45.88, 143.70°)
OKLaboklab(44.3% -0.0996 0.0647)
OKLCHoklch(44.3% 0.119 147)
XYZxyz(5.2707, 9.4375, 3.5509)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166428 #641652
analogous
#2B6416 #166428 #16644F
triadic
#166428 #281664 #642816
tetradic
#166428 #162B64 #641652 #644F16
square
#166428 #162B64 #641652 #644F16
split-complementary
#166428 #4F1664 #64162B
monochromatic
#06190A #0B3214 #166428 #21963C #2CC850

Accessibility & contrast

On white

7.27
#166428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#166428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166428
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166428#FFFFFF#000000##FFFFFF
##1664281.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #166428;
/* rgb */ color: rgb(22, 100, 40);
/* oklch */ color: oklch(44.3% 0.119 147.0);
Tailwind
colors: {
  custom: {
    50: '#619164',
    500: '#166428',
    950: '#000000',
  },
}
SCSS
$custom: #166428;
$custom-light: #619164;
$custom-dark: #000000;
JSON
{
  "hex": "#166428",
  "rgb": {
    "r": 22,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 133.846,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.11873,
    "h": 147
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#166428
secondary
#9B3B85
accent
#41C1E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166428

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

Preview Lab → · Contrast checker → · Palette generator →

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