#166228#166228

#166228 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.116 H 147.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#166228
RGBrgb(22, 98, 40)
HSLhsl(134, 63%, 24%)
HSVhsv(134, 78%, 38%)
CMYKcmyk(77.6%, 0%, 59.2%, 61.6%)
CIE-LABlab(36.10, -36.20, 26.30)
CIE-LCHlch(36.10, 44.75, 144.00°)
OKLaboklab(43.7% -0.0975 0.0628)
OKLCHoklch(43.7% 0.116 147.2)
XYZxyz(5.0812, 9.0586, 3.4878)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166228 #621650
analogous
#2A6216 #166228 #16624E
triadic
#166228 #281662 #622816
tetradic
#166228 #162A62 #621650 #624E16
square
#166228 #162A62 #621650 #624E16
split-complementary
#166228 #4E1662 #62162A
monochromatic
#06190A #0B3014 #166228 #21943C #2CC651

Accessibility & contrast

On white

7.47
#166228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#166228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166228
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166228#FFFFFF#000000##FFFFFF
##1662281.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166228;
/* rgb */ color: rgb(22, 98, 40);
/* oklch */ color: oklch(43.7% 0.116 147.2);
Tailwind
colors: {
  custom: {
    50: '#608f64',
    500: '#166228',
    950: '#000000',
  },
}
SCSS
$custom: #166228;
$custom-light: #608f64;
$custom-dark: #000000;
JSON
{
  "hex": "#166228",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 134.211,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.11596,
    "h": 147.2
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#166228
secondary
#993B83
accent
#41BFE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #166228

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

Preview Lab → · Contrast checker → · Palette generator →

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