#166915#166915

#166915 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.140 H 142.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#166915
RGBrgb(22, 105, 21)
HSLhsl(119, 67%, 25%)
HSVhsv(119, 80%, 41%)
CMYKcmyk(79%, 0%, 80%, 58.8%)
CIE-LABlab(38.42, -40.98, 37.66)
CIE-LCHlch(38.42, 55.66, 137.42°)
OKLaboklab(45.57% -0.1113 0.0847)
OKLCHoklch(45.57% 0.14 142.7)
XYZxyz(5.5175, 10.3272, 2.4119)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166915 #681569
analogous
#406915 #166915 #15693E
triadic
#166915 #151669 #691516
tetradic
#166915 #154069 #681569 #693E15
square
#166915 #154069 #681569 #693E15
split-complementary
#166915 #3E1569 #691540
monochromatic
#051A05 #0B360B #166915 #219C1F #2BCF29

Accessibility & contrast

On white

6.85
#166915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#166915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166915
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166915#FFFFFF#000000##FFFFFF
##1669151.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E03
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166915;
/* rgb */ color: rgb(22, 105, 21);
/* oklch */ color: oklch(45.6% 0.140 142.7);
Tailwind
colors: {
  custom: {
    50: '#639559',
    500: '#166915',
    950: '#000000',
  },
}
SCSS
$custom: #166915;
$custom-light: #639559;
$custom-dark: #000000;
JSON
{
  "hex": "#166915",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 119.286,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.13988,
    "h": 142.7
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#166915
secondary
#9F3AA0
accent
#3EEAE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166915

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

Preview Lab → · Contrast checker → · Palette generator →

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