#167F18#167F18

#167F18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.164 H 142.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#167F18
RGBrgb(22, 127, 24)
HSLhsl(121, 70%, 29%)
HSVhsv(121, 83%, 50%)
CMYKcmyk(82.7%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.20, -48.20, 44.17)
CIE-LCHlch(46.20, 65.38, 137.49°)
OKLaboklab(52.04% -0.1307 0.0987)
OKLCHoklch(52.04% 0.164 142.9)
XYZxyz(8.0846, 15.4143, 3.4131)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F18 #7F167D
analogous
#497F16 #167F18 #167F4D
triadic
#167F18 #18167F #7F1816
tetradic
#167F18 #16497F #7F167D #7F4D16
square
#167F18 #16497F #7F167D #7F4D16
split-complementary
#167F18 #4D167F #7F1649
monochromatic
#051A05 #0D4B0E #167F18 #1FB322 #34DC37

Accessibility & contrast

On white

5.14
#167F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#167F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F18
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F18#FFFFFF#000000##FFFFFF
##167F181.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167f18;
/* rgb */ color: rgb(22, 127, 24);
/* oklch */ color: oklch(52.0% 0.164 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a55e',
    500: '#167f18',
    950: '#000000',
  },
}
SCSS
$custom: #167f18;
$custom-light: #69a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#167f18",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 121.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.16382,
    "h": 142.9
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#167F18
secondary
#B43DB2
accent
#3BEAED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167F18

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

Preview Lab → · Contrast checker → · Palette generator →

#167F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva