#168018#168018

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

Color values

HEX#168018
RGBrgb(22, 128, 24)
HSLhsl(121, 71%, 29%)
HSVhsv(121, 83%, 50%)
CMYKcmyk(82.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.54, -48.52, 44.51)
CIE-LCHlch(46.54, 65.84, 137.47°)
OKLaboklab(52.33% -0.1316 0.0994)
OKLCHoklch(52.33% 0.165 142.9)
XYZxyz(8.2144, 15.6739, 3.4564)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168018 #80167E
analogous
#498016 #168018 #16804D
triadic
#168018 #181680 #801816
tetradic
#168018 #164980 #80167E #804D16
square
#168018 #164980 #80167E #804D16
split-complementary
#168018 #4D1680 #801649
monochromatic
#041A05 #0D4C0E #168018 #1FB422 #34DC37

Accessibility & contrast

On white

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

On black

4.14
#168018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##168018#FFFFFF#000000##FFFFFF
##1680181.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #168018;
/* rgb */ color: rgb(22, 128, 24);
/* oklch */ color: oklch(52.3% 0.165 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a65e',
    500: '#168018',
    950: '#000000',
  },
}
SCSS
$custom: #168018;
$custom-light: #69a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#168018",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 121.132,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.16494,
    "h": 142.9
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#168018
secondary
#B53DB2
accent
#3AEAED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #168018

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

Preview Lab → · Contrast checker → · Palette generator →

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