#166B24#166B24

#166B24 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.132 H 145.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#166B24
RGBrgb(22, 107, 36)
HSLhsl(130, 66%, 25%)
HSVhsv(130, 79%, 42%)
CMYKcmyk(79.4%, 0%, 66.4%, 58%)
CIE-LABlab(39.26, -40.16, 32.03)
CIE-LCHlch(39.26, 51.36, 141.42°)
OKLaboklab(46.31% -0.1083 0.0748)
OKLCHoklch(46.31% 0.132 145.4)
XYZxyz(5.9066, 10.8126, 3.4445)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B24 #6B165D
analogous
#336B16 #166B24 #166B4E
triadic
#166B24 #24166B #6B2416
tetradic
#166B24 #16336B #6B165D #6B4E16
square
#166B24 #16336B #6B165D #6B4E16
split-complementary
#166B24 #4E166B #6B1633
monochromatic
#051909 #0C3813 #166B24 #209E35 #2BD146

Accessibility & contrast

On white

6.64
#166B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#166B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B24
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B24#FFFFFF#000000##FFFFFF
##166B241.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611C
Deuteranopia (green-blind)
#635A2A
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b24;
/* rgb */ color: rgb(22, 107, 36);
/* oklch */ color: oklch(46.3% 0.132 145.4);
Tailwind
colors: {
  custom: {
    50: '#639662',
    500: '#166b24',
    950: '#000000',
  },
}
SCSS
$custom: #166b24;
$custom-light: #639662;
$custom-dark: #000000;
JSON
{
  "hex": "#166b24",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 36
  },
  "hsl": {
    "h": 129.882,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.13165,
    "h": 145.4
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#166B24
secondary
#A13B91
accent
#3FCDE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166B24

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

Preview Lab → · Contrast checker → · Palette generator →

#166B24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva