#167915#167915

#167915 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.159 H 142.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#167915
RGBrgb(22, 121, 21)
HSLhsl(119, 70%, 28%)
HSVhsv(119, 83%, 47%)
CMYKcmyk(81.8%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.09, -46.43, 43.14)
CIE-LCHlch(44.09, 63.38, 137.10°)
OKLaboklab(50.28% -0.1261 0.0961)
OKLCHoklch(50.28% 0.159 142.7)
XYZxyz(7.3031, 13.8986, 3.0071)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167915 #781579
analogous
#487915 #167915 #157946
triadic
#167915 #151679 #791516
tetradic
#167915 #154879 #781579 #794615
square
#167915 #154879 #781579 #794615
split-complementary
#167915 #461579 #791548
monochromatic
#051A05 #0D450C #167915 #1FAD1E #2FDB2E

Accessibility & contrast

On white

5.56
#167915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#167915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167915
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167915#FFFFFF#000000##FFFFFF
##1679151.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #167915;
/* rgb */ color: rgb(22, 121, 21);
/* oklch */ color: oklch(50.3% 0.159 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#167915',
    950: '#000000',
  },
}
SCSS
$custom: #167915;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#167915",
  "rgb": {
    "r": 22,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 119.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50284,
    "c": 0.15855,
    "h": 142.7
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#167915
secondary
#AD3BAF
accent
#3BEDEB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #167915

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

Preview Lab → · Contrast checker → · Palette generator →

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