#166232#166232

#166232 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.106 H 151.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#166232
RGBrgb(22, 98, 50)
HSLhsl(142, 63%, 24%)
HSVhsv(142, 78%, 38%)
CMYKcmyk(77.6%, 0%, 49%, 61.6%)
CIE-LABlab(36.24, -34.48, 20.92)
CIE-LCHlch(36.24, 40.33, 148.76°)
OKLaboklab(43.87% -0.0928 0.0513)
OKLCHoklch(43.87% 0.106 151.1)
XYZxyz(5.2738, 9.1356, 4.5024)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166232 #621646
analogous
#206216 #166232 #166258
triadic
#166232 #321662 #623216
tetradic
#166232 #162062 #621646 #625816
square
#166232 #162062 #621646 #625816
split-complementary
#166232 #581662 #621620
monochromatic
#06190D #0B3018 #166232 #21944B #2CC665

Accessibility & contrast

On white

7.43
#166232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#166232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166232
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166232#FFFFFF#000000##FFFFFF
##1662321.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592E
Deuteranopia (green-blind)
#595335
Tritanopia (blue-blind)
#006056
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166232;
/* rgb */ color: rgb(22, 98, 50);
/* oklch */ color: oklch(43.9% 0.106 151.1);
Tailwind
colors: {
  custom: {
    50: '#608f6a',
    500: '#166232',
    950: '#000000',
  },
}
SCSS
$custom: #166232;
$custom-light: #608f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#166232",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 142.105,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.10601,
    "h": 151.1
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#166232
secondary
#993B76
accent
#41AAE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #166232

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

Preview Lab → · Contrast checker → · Palette generator →

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