#167F1A#167F1A

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

Color values

HEX#167F1A
RGBrgb(22, 127, 26)
HSLhsl(122, 70%, 29%)
HSVhsv(122, 83%, 50%)
CMYKcmyk(82.7%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.21, -48.05, 43.50)
CIE-LCHlch(46.21, 64.82, 137.84°)
OKLaboklab(52.06% -0.1302 0.0976)
OKLCHoklch(52.06% 0.163 143.1)
XYZxyz(8.1062, 15.4229, 3.5268)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F1A #7F167B
analogous
#477F16 #167F1A #167F4F
triadic
#167F1A #1A167F #7F1A16
tetradic
#167F1A #16477F #7F167B #7F4F16
square
#167F1A #16477F #7F167B #7F4F16
split-complementary
#167F1A #4F167F #7F1647
monochromatic
#051A05 #0D4B0F #167F1A #1FB325 #34DC3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167F1A#FFFFFF#000000##FFFFFF
##167F1A1.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)
#827202
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167f1a;
/* rgb */ color: rgb(22, 127, 26);
/* oklch */ color: oklch(52.1% 0.163 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a55f',
    500: '#167f1a',
    950: '#000000',
  },
}
SCSS
$custom: #167f1a;
$custom-light: #69a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#167f1a",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 122.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.16276,
    "h": 143.1
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#167F1A
secondary
#B43DAF
accent
#3BE6ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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