#168015#168015

#168015 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.166 H 142.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#168015
RGBrgb(22, 128, 21)
HSLhsl(119, 72%, 29%)
HSVhsv(119, 84%, 50%)
CMYKcmyk(82.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.53, -48.72, 45.44)
CIE-LCHlch(46.53, 66.62, 136.99°)
OKLaboklab(52.32% -0.1323 0.1009)
OKLCHoklch(52.32% 0.166 142.7)
XYZxyz(8.1849, 15.6621, 3.3010)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168015 #7F1580
analogous
#4C8015 #168015 #15804A
triadic
#168015 #151680 #801516
tetradic
#168015 #154C80 #7F1580 #804A15
square
#168015 #154C80 #7F1580 #804A15
split-complementary
#168015 #4A1580 #80154C
monochromatic
#051A04 #0D4B0C #168015 #1FB51E #34DD32

Accessibility & contrast

On white

5.08
#168015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#168015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168015
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168015#FFFFFF#000000##FFFFFF
##1680151.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #168015;
/* rgb */ color: rgb(22, 128, 21);
/* oklch */ color: oklch(52.3% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa65d',
    500: '#168015',
    950: '#000000',
  },
}
SCSS
$custom: #168015;
$custom-light: #6aa65d;
$custom-dark: #000000;
JSON
{
  "hex": "#168015",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 119.439,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.16639,
    "h": 142.7
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #168015

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

Preview Lab → · Contrast checker → · Palette generator →

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