#166229#166229

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

Color values

HEX#166229
RGBrgb(22, 98, 41)
HSLhsl(135, 63%, 24%)
HSVhsv(135, 78%, 38%)
CMYKcmyk(77.6%, 0%, 58.2%, 61.6%)
CIE-LABlab(36.11, -36.04, 25.78)
CIE-LCHlch(36.11, 44.32, 144.42°)
OKLaboklab(43.72% -0.097 0.0617)
OKLCHoklch(43.72% 0.115 147.5)
XYZxyz(5.0984, 9.0655, 3.5785)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166229 #62164F
analogous
#296216 #166229 #16624F
triadic
#166229 #291662 #622916
tetradic
#166229 #162962 #62164F #624F16
square
#166229 #162962 #62164F #624F16
split-complementary
#166229 #4F1662 #621629
monochromatic
#06190A #0B3014 #166229 #21943E #2CC653

Accessibility & contrast

On white

7.46
#166229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166229
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166229#FFFFFF#000000##FFFFFF
##1662291.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166229;
/* rgb */ color: rgb(22, 98, 41);
/* oklch */ color: oklch(43.7% 0.115 147.5);
Tailwind
colors: {
  custom: {
    50: '#608f64',
    500: '#166229',
    950: '#000000',
  },
}
SCSS
$custom: #166229;
$custom-light: #608f64;
$custom-dark: #000000;
JSON
{
  "hex": "#166229",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 135,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.115,
    "h": 147.5
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#166229
secondary
#993B81
accent
#41BDE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #166229

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

Preview Lab → · Contrast checker → · Palette generator →

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