#165312#165312

#165312 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.114 H 142.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#165312
RGBrgb(22, 83, 18)
HSLhsl(116, 64%, 20%)
HSVhsv(116, 78%, 33%)
CMYKcmyk(73.5%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.40, -33.14, 30.80)
CIE-LCHlch(30.40, 45.24, 137.09°)
OKLaboklab(38.91% -0.0902 0.0699)
OKLCHoklch(38.91% 0.114 142.2)
XYZxyz(3.5331, 6.4004, 1.6214)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165312 #4F1253
analogous
#365312 #165312 #12532F
triadic
#165312 #121653 #531216
tetradic
#165312 #123653 #4F1253 #532F12
square
#165312 #123653 #4F1253 #532F12
split-complementary
#165312 #2F1253 #531236
monochromatic
#071905 #092107 #165312 #23851D #31B828

Accessibility & contrast

On white

9.21
#165312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#165312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165312
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165312#FFFFFF#000000##FFFFFF
##1653121.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#085046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #165312;
/* rgb */ color: rgb(22, 83, 18);
/* oklch */ color: oklch(38.9% 0.114 142.2);
Tailwind
colors: {
  custom: {
    50: '#5e8454',
    500: '#165312',
    950: '#000000',
  },
}
SCSS
$custom: #165312;
$custom-light: #5e8454;
$custom-dark: #000000;
JSON
{
  "hex": "#165312",
  "rgb": {
    "r": 22,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 116.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.11414,
    "h": 142.2
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#165312
secondary
#86358C
accent
#40E7DD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #165312

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

Preview Lab → · Contrast checker → · Palette generator →

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