#165227#165227

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

Color values

HEX#165227
RGBrgb(22, 82, 39)
HSLhsl(137, 58%, 20%)
HSVhsv(137, 73%, 32%)
CMYKcmyk(73.2%, 0%, 52.4%, 67.8%)
CIE-LABlab(30.28, -29.82, 19.73)
CIE-LCHlch(30.28, 35.76, 146.51°)
OKLaboklab(38.89% -0.0804 0.0481)
OKLCHoklch(38.89% 0.094 149.1)
XYZxyz(3.7141, 6.3512, 2.9492)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165227 #521641
analogous
#235216 #165227 #165245
triadic
#165227 #271652 #522716
tetradic
#165227 #162352 #521641 #524516
square
#165227 #162352 #521641 #524516
split-complementary
#165227 #451652 #521623
monochromatic
#06180B #092210 #165227 #23823E #30B355

Accessibility & contrast

On white

9.25
#165227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#165227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165227
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165227#FFFFFF#000000##FFFFFF
##1652271.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #165227;
/* rgb */ color: rgb(22, 82, 39);
/* oklch */ color: oklch(38.9% 0.094 149.1);
Tailwind
colors: {
  custom: {
    50: '#5c8362',
    500: '#165227',
    950: '#000000',
  },
}
SCSS
$custom: #165227;
$custom-light: #5c8362;
$custom-dark: #000000;
JSON
{
  "hex": "#165227",
  "rgb": {
    "r": 22,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 137,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.09366,
    "h": 149.1
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#165227
secondary
#893A73
accent
#47B5E1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #165227

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

Preview Lab → · Contrast checker → · Palette generator →

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