#168115#168115

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

Color values

HEX#168115
RGBrgb(22, 129, 21)
HSLhsl(119, 72%, 29%)
HSVhsv(119, 84%, 51%)
CMYKcmyk(82.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.87, -49.04, 45.77)
CIE-LCHlch(46.87, 67.08, 136.98°)
OKLaboklab(52.6% -0.1331 0.1016)
OKLCHoklch(52.6% 0.168 142.6)
XYZxyz(8.3160, 15.9242, 3.3447)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168115 #801581
analogous
#4C8115 #168115 #15814A
triadic
#168115 #151681 #811516
tetradic
#168115 #154C81 #801581 #814A15
square
#168115 #154C81 #801581 #814A15
split-complementary
#168115 #4A1581 #81154C
monochromatic
#041A04 #0D4C0C #168115 #1FB61E #34DE33

Accessibility & contrast

On white

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

On black

4.18
#168115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##168115#FFFFFF#000000##FFFFFF
##1681151.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #168115;
/* rgb */ color: rgb(22, 129, 21);
/* oklch */ color: oklch(52.6% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa75d',
    500: '#168115',
    950: '#000000',
  },
}
SCSS
$custom: #168115;
$custom-light: #6aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#168115",
  "rgb": {
    "r": 22,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 119.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.1675,
    "h": 142.6
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#168115
secondary
#B53CB6
accent
#39EFED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #168115

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

Preview Lab → · Contrast checker → · Palette generator →

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