#168118#168118

#168118 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.166 H 142.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#168118
RGBrgb(22, 129, 24)
HSLhsl(121, 71%, 30%)
HSVhsv(121, 83%, 51%)
CMYKcmyk(82.9%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.89, -48.85, 44.84)
CIE-LCHlch(46.89, 66.31, 137.45°)
OKLaboklab(52.62% -0.1325 0.1001)
OKLCHoklch(52.62% 0.166 142.9)
XYZxyz(8.3455, 15.9360, 3.5001)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168118 #81167F
analogous
#4A8116 #168118 #16814D
triadic
#168118 #181681 #811816
tetradic
#168118 #164A81 #81167F #814D16
square
#168118 #164A81 #81167F #814D16
split-complementary
#168118 #4D1681 #81164A
monochromatic
#041A05 #0D4D0E #168118 #1FB522 #35DD38

Accessibility & contrast

On white

5.02
#168118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#168118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168118
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168118#FFFFFF#000000##FFFFFF
##1681181.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #168118;
/* rgb */ color: rgb(22, 129, 24);
/* oklch */ color: oklch(52.6% 0.166 142.9);
Tailwind
colors: {
  custom: {
    50: '#6aa75e',
    500: '#168118',
    950: '#000000',
  },
}
SCSS
$custom: #168118;
$custom-light: #6aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#168118",
  "rgb": {
    "r": 22,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 121.121,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.16606,
    "h": 142.9
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#168118
secondary
#B63DB3
accent
#3AEAEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #168118

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

Preview Lab → · Contrast checker → · Palette generator →

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