#165212#165212

#165212 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.113 H 142.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#165212
RGBrgb(22, 82, 18)
HSLhsl(116, 64%, 20%)
HSVhsv(116, 78%, 32%)
CMYKcmyk(73.2%, 0%, 78%, 67.8%)
CIE-LABlab(30.03, -32.74, 30.42)
CIE-LCHlch(30.03, 44.69, 137.11°)
OKLaboklab(38.6% -0.0891 0.0691)
OKLCHoklch(38.6% 0.113 142.2)
XYZxyz(3.4572, 6.2485, 1.5960)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165212 #4E1252
analogous
#365212 #165212 #12522E
triadic
#165212 #121652 #521216
tetradic
#165212 #123652 #4E1252 #522E12
square
#165212 #123652 #4E1252 #522E12
split-complementary
#165212 #2E1252 #521236
monochromatic
#071906 #092007 #165212 #23841D #31B628

Accessibility & contrast

On white

9.33
#165212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#165212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165212
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165212#FFFFFF#000000##FFFFFF
##1652121.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#084F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #165212;
/* rgb */ color: rgb(22, 82, 18);
/* oklch */ color: oklch(38.6% 0.113 142.2);
Tailwind
colors: {
  custom: {
    50: '#5d8354',
    500: '#165212',
    950: '#000000',
  },
}
SCSS
$custom: #165212;
$custom-light: #5d8354;
$custom-dark: #000000;
JSON
{
  "hex": "#165212",
  "rgb": {
    "r": 22,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 116.25,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.11282,
    "h": 142.2
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#165212
secondary
#85358B
accent
#41E7DD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #165212

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

Preview Lab → · Contrast checker → · Palette generator →

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