#166724#166724

#166724 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.126 H 145.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#166724
RGBrgb(22, 103, 36)
HSLhsl(130, 65%, 25%)
HSVhsv(130, 79%, 40%)
CMYKcmyk(78.6%, 0%, 65%, 59.6%)
CIE-LABlab(37.84, -38.68, 30.41)
CIE-LCHlch(37.84, 49.20, 141.82°)
OKLaboklab(45.13% -0.1043 0.0714)
OKLCHoklch(45.13% 0.126 145.6)
XYZxyz(5.4992, 9.9978, 3.3087)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166724 #671659
analogous
#316716 #166724 #16674D
triadic
#166724 #241667 #672416
tetradic
#166724 #163167 #671659 #674D16
square
#166724 #163167 #671659 #674D16
split-complementary
#166724 #4D1667 #671631
monochromatic
#051909 #0B3512 #166724 #219936 #2CCC47

Accessibility & contrast

On white

7.00
#166724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#166724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166724
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166724#FFFFFF#000000##FFFFFF
##1667241.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1D
Deuteranopia (green-blind)
#5F572A
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166724;
/* rgb */ color: rgb(22, 103, 36);
/* oklch */ color: oklch(45.1% 0.126 145.6);
Tailwind
colors: {
  custom: {
    50: '#629361',
    500: '#166724',
    950: '#000000',
  },
}
SCSS
$custom: #166724;
$custom-light: #629361;
$custom-dark: #000000;
JSON
{
  "hex": "#166724",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 36
  },
  "hsl": {
    "h": 130.37,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.12639,
    "h": 145.6
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#166724
secondary
#9E3B8D
accent
#40CBE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166724

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

Preview Lab → · Contrast checker → · Palette generator →

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