#167820#167820

#167820 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.151 H 144.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#167820
RGBrgb(22, 120, 32)
HSLhsl(126, 69%, 28%)
HSVhsv(126, 82%, 47%)
CMYKcmyk(81.7%, 0%, 73.3%, 52.9%)
CIE-LABlab(43.81, -45.19, 38.77)
CIE-LCHlch(43.81, 59.54, 139.37°)
OKLaboklab(50.08% -0.1222 0.0886)
OKLCHoklch(50.08% 0.151 144.1)
XYZxyz(7.3076, 13.7069, 3.6268)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167820 #78166E
analogous
#3D7816 #167820 #167851
triadic
#167820 #201678 #782016
tetradic
#167820 #163D78 #78166E #785116
square
#167820 #163D78 #78166E #785116
split-complementary
#167820 #511678 #78163D
monochromatic
#051A07 #0D4412 #167820 #1FAC2E #2FD941

Accessibility & contrast

On white

5.61
#167820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#167820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167820
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167820#FFFFFF#000000##FFFFFF
##1678201.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #167820;
/* rgb */ color: rgb(22, 120, 32);
/* oklch */ color: oklch(50.1% 0.151 144.1);
Tailwind
colors: {
  custom: {
    50: '#67a061',
    500: '#167820',
    950: '#000000',
  },
}
SCSS
$custom: #167820;
$custom-light: #67a061;
$custom-dark: #000000;
JSON
{
  "hex": "#167820",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 126.122,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.15091,
    "h": 144.1
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#167820
secondary
#AD3CA2
accent
#3CDAEC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #167820

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

Preview Lab → · Contrast checker → · Palette generator →

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