#165F27#165F27

#165F27 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.113 H 147.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#165F27
RGBrgb(22, 95, 39)
HSLhsl(134, 62%, 23%)
HSVhsv(134, 77%, 37%)
CMYKcmyk(76.8%, 0%, 58.9%, 62.7%)
CIE-LABlab(35.01, -35.18, 25.54)
CIE-LCHlch(35.01, 43.47, 144.02°)
OKLaboklab(42.8% -0.0947 0.061)
OKLCHoklch(42.8% 0.113 147.2)
XYZxyz(4.7889, 8.5009, 3.3075)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F27 #5F164E
analogous
#295F16 #165F27 #165F4B
triadic
#165F27 #27165F #5F2716
tetradic
#165F27 #16295F #5F164E #5F4B16
square
#165F27 #16295F #5F164E #5F4B16
split-complementary
#165F27 #4B165F #5F1629
monochromatic
#06190A #0A2D13 #165F27 #22913B #2DC250

Accessibility & contrast

On white

7.78
#165F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#165F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F27
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F27#FFFFFF#000000##FFFFFF
##165F271.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #165f27;
/* rgb */ color: rgb(22, 95, 39);
/* oklch */ color: oklch(42.8% 0.113 147.2);
Tailwind
colors: {
  custom: {
    50: '#608d63',
    500: '#165f27',
    950: '#000000',
  },
}
SCSS
$custom: #165f27;
$custom-light: #608d63;
$custom-dark: #000000;
JSON
{
  "hex": "#165f27",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 39
  },
  "hsl": {
    "h": 133.973,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.11271,
    "h": 147.2
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#165F27
secondary
#963B81
accent
#42BFE5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #165F27

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

Preview Lab → · Contrast checker → · Palette generator →

#165F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva