#166227#166227

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

Color values

HEX#166227
RGBrgb(22, 98, 39)
HSLhsl(133, 63%, 24%)
HSVhsv(133, 78%, 38%)
CMYKcmyk(77.6%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.08, -36.35, 26.82)
CIE-LCHlch(36.08, 45.18, 143.58°)
OKLaboklab(43.69% -0.0979 0.0639)
OKLCHoklch(43.69% 0.117 146.9)
XYZxyz(5.0644, 9.0518, 3.3993)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166227 #621651
analogous
#2B6216 #166227 #16624D
triadic
#166227 #271662 #622716
tetradic
#166227 #162B62 #621651 #624D16
square
#166227 #162B62 #621651 #624D16
split-complementary
#166227 #4D1662 #62162B
monochromatic
#06190A #0B3013 #166227 #21943B #2CC64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166227#FFFFFF#000000##FFFFFF
##1662271.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)
#635921
Deuteranopia (green-blind)
#5B522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166227;
/* rgb */ color: rgb(22, 98, 39);
/* oklch */ color: oklch(43.7% 0.117 146.9);
Tailwind
colors: {
  custom: {
    50: '#608f63',
    500: '#166227',
    950: '#000000',
  },
}
SCSS
$custom: #166227;
$custom-light: #608f63;
$custom-dark: #000000;
JSON
{
  "hex": "#166227",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 133.421,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.1169,
    "h": 146.9
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#166227
secondary
#993B84
accent
#41C1E6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #166227

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

Preview Lab → · Contrast checker → · Palette generator →

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