#168F12#168F12

#168F12 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.184 H 142.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#168F12
RGBrgb(22, 143, 18)
HSLhsl(118, 78%, 32%)
HSVhsv(118, 87%, 56%)
CMYKcmyk(84.6%, 0%, 87.4%, 43.9%)
CIE-LABlab(51.68, -53.62, 50.96)
CIE-LCHlch(51.68, 73.97, 136.46°)
OKLaboklab(56.6% -0.1457 0.1121)
OKLCHoklch(56.6% 0.184 142.4)
XYZxyz(10.2619, 19.8579, 3.8643)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168F12 #8B128F
analogous
#558F12 #168F12 #128F4D
triadic
#168F12 #12168F #8F1216
tetradic
#168F12 #12558F #8B128F #8F4D12
square
#168F12 #12558F #8B128F #8F4D12
split-complementary
#168F12 #4D128F #8F1255
monochromatic
#052204 #0E590B #168F12 #1EC519 #3BE636

Accessibility & contrast

On white

4.22
#168F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#168F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168F12
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168F12#FFFFFF#000000##000000
##168F121.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #168f12;
/* rgb */ color: rgb(22, 143, 18);
/* oklch */ color: oklch(56.6% 0.184 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eb15e',
    500: '#168f12',
    950: '#000000',
  },
}
SCSS
$custom: #168f12;
$custom-light: #6eb15e;
$custom-dark: #000000;
JSON
{
  "hex": "#168f12",
  "rgb": {
    "r": 22,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 118.08,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.18381,
    "h": 142.4
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#168F12
secondary
#BF3AC3
accent
#34F4EE
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #168F12

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

Preview Lab → · Contrast checker → · Palette generator →

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