#165F12#165F12

#165F12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.129 H 142.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#165F12
RGBrgb(22, 95, 18)
HSLhsl(117, 68%, 22%)
HSVhsv(117, 81%, 37%)
CMYKcmyk(76.8%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.80, -37.65, 35.22)
CIE-LCHlch(34.80, 51.56, 136.91°)
OKLaboklab(42.56% -0.1024 0.0792)
OKLCHoklch(42.56% 0.129 142.3)
XYZxyz(4.5320, 8.3982, 1.9543)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F12 #5B125F
analogous
#3D5F12 #165F12 #125F35
triadic
#165F12 #12165F #5F1216
tetradic
#165F12 #123D5F #5B125F #5F3512
square
#165F12 #123D5F #5B125F #5F3512
split-complementary
#165F12 #35125F #5F123D
monochromatic
#061A05 #0A2C08 #165F12 #22921C #2EC625

Accessibility & contrast

On white

7.84
#165F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#165F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F12
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F12#FFFFFF#000000##FFFFFF
##165F121.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#015C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #165f12;
/* rgb */ color: rgb(22, 95, 18);
/* oklch */ color: oklch(42.6% 0.129 142.3);
Tailwind
colors: {
  custom: {
    50: '#618d56',
    500: '#165f12',
    950: '#000000',
  },
}
SCSS
$custom: #165f12;
$custom-light: #618d56;
$custom-dark: #000000;
JSON
{
  "hex": "#165f12",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 116.883,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.12946,
    "h": 142.3
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#165F12
secondary
#923697
accent
#3DEBE2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #165F12

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

Preview Lab → · Contrast checker → · Palette generator →

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