#165127#165127

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

Color values

HEX#165127
RGBrgb(22, 81, 39)
HSLhsl(137, 57%, 20%)
HSVhsv(137, 73%, 32%)
CMYKcmyk(72.8%, 0%, 51.9%, 68.2%)
CIE-LABlab(29.92, -29.39, 19.27)
CIE-LCHlch(29.92, 35.14, 146.75°)
OKLaboklab(38.59% -0.0792 0.047)
OKLCHoklch(38.59% 0.092 149.3)
XYZxyz(3.6392, 6.2015, 2.9243)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165127 #511640
analogous
#225116 #165127 #165144
triadic
#165127 #271651 #512716
tetradic
#165127 #162251 #511640 #514416
square
#165127 #162251 #511640 #514416
split-complementary
#165127 #441651 #511622
monochromatic
#07180C #092110 #165127 #23813E #30B155

Accessibility & contrast

On white

9.37
#165127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#165127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165127
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165127#FFFFFF#000000##FFFFFF
##1651271.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#4A442A
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #165127;
/* rgb */ color: rgb(22, 81, 39);
/* oklch */ color: oklch(38.6% 0.092 149.3);
Tailwind
colors: {
  custom: {
    50: '#5c8262',
    500: '#165127',
    950: '#000000',
  },
}
SCSS
$custom: #165127;
$custom-light: #5c8262;
$custom-dark: #000000;
JSON
{
  "hex": "#165127",
  "rgb": {
    "r": 22,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 137.288,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.09213,
    "h": 149.3
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#165127
secondary
#883A72
accent
#47B4E1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #165127

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

Preview Lab → · Contrast checker → · Palette generator →

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