#167815#167815

#167815 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.157 H 142.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#167815
RGBrgb(22, 120, 21)
HSLhsl(119, 70%, 28%)
HSVhsv(119, 83%, 47%)
CMYKcmyk(81.7%, 0%, 82.5%, 52.9%)
CIE-LABlab(43.74, -46.10, 42.81)
CIE-LCHlch(43.74, 62.91, 137.12°)
OKLaboklab(49.99% -0.1252 0.0954)
OKLCHoklch(49.99% 0.157 142.7)
XYZxyz(7.1823, 13.6568, 2.9668)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167815 #771578
analogous
#477815 #167815 #157845
triadic
#167815 #151678 #781516
tetradic
#167815 #154778 #771578 #784515
square
#167815 #154778 #771578 #784515
split-complementary
#167815 #451578 #781547
monochromatic
#051A05 #0C440C #167815 #20AC1E #2FDA2D

Accessibility & contrast

On white

5.63
#167815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#167815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167815
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167815#FFFFFF#000000##FFFFFF
##1678151.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #167815;
/* rgb */ color: rgb(22, 120, 21);
/* oklch */ color: oklch(50.0% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#67a05b',
    500: '#167815',
    950: '#000000',
  },
}
SCSS
$custom: #167815;
$custom-light: #67a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#167815",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 119.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.15741,
    "h": 142.7
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#167815
secondary
#AC3BAE
accent
#3BEDEB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #167815

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

Preview Lab → · Contrast checker → · Palette generator →

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